redirect to admin with parameter

13 views
Skip to first unread message

Christian Schulz

unread,
Oct 13, 2014, 5:54:31 AM10/13/14
to django...@googlegroups.com
Hey,

i'd like to redirect with a parameter to specific entry in an admin model table entry
Is it possible with a TemplateView in urls.py directly?

If not , what is the proper way to do it without a template?

Example I call:  reporting/netreach/2695/ and would like 
redirect to  adminreporting/netreach/?_p_campaign_id__exact=2695 in admin.


Thanks
Christian



Christian Schulz

unread,
Oct 13, 2014, 6:44:29 AM10/13/14
to django...@googlegroups.com
Got  it with a simple redirect.
Reply all
Reply to author
Forward
0 new messages