solved. I don't added everywhere class Admin: pass
On Aug 29, 9:44 am, Sheriff26 <[EMAIL PROTECTED]> wrote: > hi all... > > I have a problem. > > After I edited the models.py, > and added class Admin: pass, > and off course in settings.py 'mysite.myproject' > > it don't apear in the admin page!! Why ?? > What I do wrong ? > > this is the code of models.py > > #### models.py > from django.db import models > > import datetime > > class Cat(models.Model): > name = models.CharField(max_length=200) > > class Admin: > pass > > class Um(models.Model): > um = models.CharField(max_length=3) > > class Produse(models.Model): > name = models.CharField(max_length=200) > cat = models.ForeignKey(Cat) > desc = models.TextField() > um = models.ForeignKey(Um) > price = models.IntegerField() > pub_date = models.DateTimeField() --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

