If I create a new instance of a database object from a view, this item
appears fine in the database and even in the changelist view of the
admin, but clicking on the item ( as if going to delete or edit it )
just gets a template error. Anyone know why this is?

Ie in the the view method we have

hit = Hit()
save.hit()

And in the model:

class Hit( models.Model ):
    date_time  = models.DateTimeField( auto_now_add="True" ) 
   
    class Admin: 
        pass


The hits appear as a list in the admin but can't be clicked on.

Thanks
Iain


--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to