Re: attaching values of a m2m to a dictionary
On 1 août, 20:24, eduardoorige <eduardo.or...@gmail.com> wrote:
> Thanks for your reply..
>
> Each Acesso have a sector which is Unique. Acesso`s _unicode is
> SECTOR.
> When I set for the first time values for this rule(Acesso), the
> dictionary come without values for genres.
>
> Example:
> Acesso is empty now.
> Enter in Admin/Acesso
>
> and set values:
>
> Sector = 'Development'
> Forbidden = 'Porn', 'Sports'
> Free = 'News'
>
> and save.
>
> The dictionary should returns:
This only answers half the question - once you saved your Acesso
model, how do you call the function ?
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home