I am a newbie ! I doesnt have esperience whit django and web developing.. so I have some problem to make the thing running good :|
There are an example of User Build-in model usage ? Thanks MA. 2007/7/25, De Rowe <[EMAIL PROTECTED]>: > > > > > On Wed, 25 Jul 2007 15:33:19 +0200, Horst Gutmann <[EMAIL PROTECTED]> > wrote: > > > > Marco A. wrote: > >> HI ! > >> In model I have : > >> > >> from django.db import models > >> > >> # Create your models here. > >> class User(models.Model): > >> User = models.CharField(maxlength=200) > >> Pasw = models.CharField(maxlength=16) > >> def __unicode__(self): > >> return self.question > >> def was_published_today(self): > >> return self.User > >> class Admin: > >> pass > >> > >> > > > > Have you sync'd the database? Btw.: why do you give fields uppercase > > names? > > > > - Horst > > > > Lastly, why not use the built-in User model that comes with Django? Using > it allows your users to be seen by all apps under your project. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---