yeah the urls file looks fine... it only happens randomly but seems tied to DEBUG=False for some reason... not sure why that would make a difference.


On 03/17/2011 03:09 PM, werefr0g wrote:
Hi Bobby,

Maybe some mistake on your url.py, for example if you have an app named "app" and a model named "model", you'll try to get this url to add a new "model"

/admin/app/model/add/

Usually, you'll write your urls.py like this:

    (r'^app/', include('app.urls')),
    (r'^admin/', include(admin.site.urls)),

If you forget the "^" before app/, the url for adding a new model will match the regex 'app/', and the admin will be shorcut, Just a guess against the material you brought ;)

Regards,

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to