On Thu, Aug 27, 2009 at 12:38 PM, ankit rai<ankit9...@gmail.com> wrote:
> Nobody knows the answer to this question i think so
>

Did you really expect an answer within an hour of sending the email to
the list? A little bit of patience would really be in order here.

If you need answers _fast_, IRC would be a better medium. There's no
guarentee you'll get help either way, though.


> On Thu, Aug 27, 2009 at 2:59 PM, ankit <ankit9...@gmail.com> wrote:
>>
>> I am new to django.I having to app in my admin.Know I want to know
>> that how can i redirect user to one app listpage if clicks save on
>> second app.say from app2 to app1
>>

You can do this by overriding the ModelAdmin response_change or
response_add method (or both, depending on your needs) you are
registering your model with.

Something like this:

class MyModelAdmin(admin.ModelAdmin):
    def response_change(self, ...):
        ...

admin.site.register(MyModel, MyModelAdmin)


I've never seen the need to do such a thing up to now, but this code
snippet should be enough to get you started.



Matthias



-- 
FeinCMS Django CMS building toolkit: http://spinlock.ch/pub/feincms/

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