Re: Strange 404 error in admin

2009-02-09 Thread Karen Tracey
On Mon, Feb 9, 2009 at 11:45 PM, Julien Phalip wrote: > > On Feb 10, 3:19 pm, Karen Tracey wrote: > > On Mon, Feb 9, 2009 at 4:17 PM, Julien Phalip wrote: > > > Hello again, > > > > > I finally fixed it with the following nasty hack: >

Re: Strange 404 error in admin

2009-02-09 Thread Julien Phalip
On Feb 10, 3:19 pm, Karen Tracey wrote: > On Mon, Feb 9, 2009 at 4:17 PM, Julien Phalip wrote: > > Hello again, > > > I finally fixed it with the following nasty hack: > > > class Entry(models.Model): > >        ... some fields ... > > >         objects =

Re: Strange 404 error in admin

2009-02-09 Thread Karen Tracey
On Mon, Feb 9, 2009 at 4:17 PM, Julien Phalip wrote: > Hello again, > > I finally fixed it with the following nasty hack: > > class Entry(models.Model): >... some fields ... > > objects = models.Manager() # Nasty hack >published =

Re: Strange 404 error in admin

2009-02-09 Thread Julien Phalip
On Feb 10, 7:52 am, Julien Phalip wrote: > On Feb 10, 7:41 am, Alex Gaynor wrote: > > > I don't know what manager old forms admin used, but do you have a custom > > manager that blocks access to some objects. > > Thanks Alex for your reply. You've made

Re: Strange 404 error in admin

2009-02-09 Thread Julien Phalip
On Feb 10, 7:41 am, Alex Gaynor wrote: > I don't know what manager old forms admin used, but do you have a custom > manager that blocks access to some objects. Thanks Alex for your reply. You've made a really good point which helped me track this down. Here are the model

Re: Strange 404 error in admin

2009-02-09 Thread Alex Gaynor
On Mon, Feb 9, 2009 at 3:40 PM, Julien Phalip wrote: > > On Feb 9, 7:20 pm, Julien Phalip wrote: > > Hi, > > > > This is a strange case. I have a simple blog entry model which can be > > edited in the admin, from the URL that looks like: >

Re: Strange 404 error in admin

2009-02-09 Thread Julien Phalip
On Feb 9, 7:20 pm, Julien Phalip wrote: > Hi, > > This is a strange case. I have a simple blog entry model which can be > edited in the admin, from the URL that looks > like:http://www.example.com.au/admin/blog/entry/52/ > > Now, what is strange is that the link above returns

Strange 404 error in admin

2009-02-09 Thread Julien Phalip
Hi, This is a strange case. I have a simple blog entry model which can be edited in the admin, from the URL that looks like: http://www.example.com.au/admin/blog/entry/52/ Now, what is strange is that the link above returns a 404. Same with the entry id=51. Yet, entries with id=51,52 do exist.