Re: Admin URLs not working correctly

2009-09-28 Thread Michael Williamson
> If you move your admin registrations to an admin.py file > I believe your problem will go away. Right you are! Well, that was somewhat foolish of me. Thanks for your patience. Mike --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: Admin URLs not working correctly

2009-09-27 Thread Vic Fryzel
I'm also able to reproduce this. Trying to figure out the issue. On Sep 27, 6:55 pm, Michael Williamson wrote: > > A small, recreatable example would help. > > I've just recreated by doing the following, all with Django 1.1: > >   1. Run django-admin startproject bug >   2. Set DATABASE_ENGINE

Re: Admin URLs not working correctly

2009-09-27 Thread Karen Tracey
On Sun, Sep 27, 2009 at 6:55 PM, Michael Williamson < mikerwilliam...@yahoo.co.uk> wrote: > > > A small, recreatable example would help. > > I've just recreated by doing the following, all with Django 1.1: > > 1. Run django-admin startproject bug > 2. Set DATABASE_ENGINE to sqlite3 and DATABASE_

Re: Admin URLs not working correctly

2009-09-27 Thread Michael Williamson
> A small, recreatable example would help. I've just recreated by doing the following, all with Django 1.1: 1. Run django-admin startproject bug 2. Set DATABASE_ENGINE to sqlite3 and DATABASE_NAME to /tmp/bug- database 3. Add 'django.contrib.admin' to INSTALLED_APPS 4. Edit urls.py so th

Re: Admin URLs not working correctly

2009-09-27 Thread Michael Williamson
> You've listed one that doesn't work -- /admin/blog/comment/add. Is comment > listed as a model at all under /admin/blog when things break? Does > /admin/blog/comment/ work to show a change list of comment models? Can you > bring up a detail page on an existing one? Successfully change it? I

Re: Admin URLs not working correctly

2009-09-27 Thread Karen Tracey
On Sun, Sep 27, 2009 at 4:41 PM, Michael Williamson < mikerwilliam...@yahoo.co.uk> wrote: > > Admin URLs do not seem to behaving themselves for me. My urls.py looks > like this: > >from django.conf.urls.defaults import * > >from django.contrib import admin >admin.autodiscover() > >

Admin URLs not working correctly

2009-09-27 Thread Michael Williamson
Admin URLs do not seem to behaving themselves for me. My urls.py looks like this: from django.conf.urls.defaults import * from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', (r'^$', 'django.views.generic.simple.redirect_to', {'url': '/ blog/'