Well, i have a method called export_acesso. This is a post_save
method.
When i save something, export_acesso is called and get the dictionary
with the dic_acesso() function.

def export_acesso(sender=Acesso, **kwargs):
    dic = dic_acesso()
    ...


On Aug 1, 4:58 pm, bruno desthuilliers <bruno.desthuilli...@gmail.com>
wrote:
> 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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to