I want logged in users to be able to add comments but only want some
of the formfields displayed. Fields 'user', 'date' and 'discussion'
should be out of reach for my sitevisitors/clients.

#models.py:
class Comment(models.Model):
    user = models.ForeignKey(User)
    date = models.DateTimeField(default=datetime.now())
    text = models.TextField()
    discussion = models.ForeignKey(Discussion)

How should i solve this? I've tried numerous ways but none of them
really worked.
--~--~---------~--~----~------------~-------~--~----~
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