from django.core import meta
from django.models.auth import users ???
class Recette(meta.Model):
slug = meta.SlugField("Slug", prepopulate_from=('nom',) ,unique=True,
blank=True)
nom = meta.CharField(maxlength=80,help_text=_('Nom de la recette'),
unique=True)
[....]
owner = meta.ForeignKey(User)
class META:
[....]
)
User is not recognised, (meta.ForeignKey(User) ) what should i import.
Thank you
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---