screenshot http://professional-fighters.com/images/change-list.png the
is shown the object tools of tools admin, I have to put a link into
the change list template to add it, but I whant that when the button
is pressed it's redirected to a python function, how can I do it?

On 21 ago, 23:16, Mike Dewhirst <mi...@dewhirst.com.au> wrote:
> On 22/08/2011 11:56am, Mariano DAngelo wrote:> Hi I'm new in django I'm 
> trying to redirect a personalize object tool
> > to a function on a model module....
>
> > how can I do this becouse alll tutorial show how to redirect to a
> > link....
>
> > thanks
>
> I'm not sure what you are asking about. Redirection is normally done in
> your urls.py or behind the scenes by the webserver itself. In python, a
> module is either a directory with source code or a file such as
> models.py. Models defined in models.py can have functions or methods.
> You can call them using normal python syntax.
>
> Could you say how new you are? Have you got the tutorial working?
>
> Mike

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