Hi vamsy,
Can you post your urls.py files? Perhaps you have a recursive inclusion.
Example:
myapp.urls.py
patterns = urlpatterns('',
url(r'^/', include('myapp.urls') # this will result in a recursive
inclusion.
)
-Justin
--
You received this message because you are subscribed to the Goog
Good to hear! Thats a common problem; you need to remember that your models
might not reflect the constraints of the database once you make changes.
Take a look at South for database migrations. It's not too hard to use once
you get used to the workflow.
http://south.aeracode.org/
-Justin
--
Are you using the Django python shell? That error means that your
environment doesn't point to a settings file, which is handled by the Django
shell.
Execute this command within your project directory (wherever you have the
manage.py file):
python manage.py shell
It will open a Python interpre
Thanks, Skylar. You're right, it worked. Now I am just shaking my head and
saying "next time, I'll just read the source..."
-Justin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.
Hi, I still haven't found an answer to this problem so I am shamelessly
bumping the last updated date.
Thanks in advance for your help!
-Justin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@
Did you create a new DB and run syncdb or is it the same DB based on the old
schema?
-Justin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, se
Yes. A quick read of the Model Field Reference docs would have answered
this.
my_date = models.DateTimeField(blank=True, null=True).
http://docs.djangoproject.com/en/dev/ref/models/fields/
-Justin
--
You received this message because you are subscribed to the Google Groups
"Django users" gro
Thanks, Ćukasz. I looked into overriding that method too, but it seems like
there should be a cleaner way. I almost feel like the ``ModelFormMixin``
should have an API similar to a ``ModelAdmin`` where one could override a
``save_model()`` method on the subclass.
The ``form_valid()`` method doe
Hi Conor,
You might be running into a CSRF protection error. Django expects a
CSRF token for all POST requests and the MailChimp webhooks aren't
sending one. You will need to decorate your views as @csrf_exempt in
order for them to work. Just make sure that you do some extra
validation on your par
Hello group,
Does anybody have experience with the OpenToken specification? It is
an authentication token that some (not many) applications use for SSO.
I found existing Perl module that encrypts and decrypts the token but
I need a Python version to use in a Django project. Not much luck
finding
Facebook published a sample GAE application. The code is pretty
straightforward and you can pretty much use the same concepts in your
Django code. I would think that the signed request logic would work
best in middleware.
https://github.com/facebook/runwithfriends
-Justin
--
You received this m
11 matches
Mail list logo