Hi,

I've searched the group many times, but didn't find the one solution
for
creating new objects with "user" field preserved.

I want to avoid a hidden field with user value set.

Let's say I have an "Alert" model with fields:

owner = ForeignKey(User, blank=False)
type = models.CharField(maxlength="20", blank=False)

I would like to use create_object generic view. It can only be edited
by authenticated user,
and I don't want to need to enter the user via the form.

It has been already discussed on the group, some of discussions related
to follow= argument,
set_follow functions etc, but none of them was approved by Django team
coders.
How about follow= argument, can someone please explain how it works ?
and how
can I use it ?

Also, some of them used manipulators, which are not marked as "stable"
(they
are about to be removed/changed.., -
http://code.djangoproject.com/ticket/1563 - )

What is the best way to get this thing done  ?


Thanks,
Robert


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

Reply via email to