Hi all

In the Admin interface I'm getting the folloing error for a model:
    Error: variable not passed into template?>Data

class Data(models.Model):
        experiment_id = models.CharField(maxlength=10)
        node_id       = models.CharField(maxlength=10)
        content = models.TextField(blank=True)

        class Meta:
                verbose_name_plural = 'Data'

        class Admin:
                pass

The Admin interface is not showing the columns of the table but just a list 
like this:
        Data object
        Data object ...

I can add a row or delete a row and I can edit the rows using the admin 
interface.
I can't see whats wrong with this particular model.
manage syncdb runs with no errors and manage.py validate says 0 errors.
In models.py the other models display fine in the Admin interface.

Mike
-- 
Michael Lake





--~--~---------~--~----~------------~-------~--~----~
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