Hi,

In the django svn version, I've created the following model:
"""
from django.db import models

class BaseItem(models.Model):
    name = models.CharField(maxlength=200)

class Item(BaseItem):
    phone = models.CharField(maxlength=200)
    class Admin:
        list_display = ('name', 'phone')
"""
When I add an instance of the Item class in the Admin interface,
everything works correctly and I see all the properties in the Item's
add form. After adding an Item object, the values are inserted in the
database. But, when I'm trying to edit it, I get the following error:
"""Page not found (404)
Request Method:         GET
Request URL:    http://localhost:8000/admin/myproject/item/1/
"""

I know that in the 0.91 version I could link the "module_name" to the
class Meta. But, in the django latest development version (the svn
one), the "module_name" attribute does not exist anymore.

What am I missing? What should I do?


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to