Thursday, 15 March 2012

python - django admin custom template for model redirection -


Suppose a curious question I have a module / app, which says that a model that has a model, Too. " Now I've registered admin.py this model Now when I log in to admin and look at this model, I see the general update, Delete option in the admin template.

Is it possible that when I look at this model in the admin and click on that model then it redirects to the other URL in the URL and it is displayed in another template and I have some I can also see what I like.

I'm sorry if this is misleading. What do I want that I want to show an admin's property model, add, and delete another custom template and it should be redirected to the URL defined in the module's urls.py

. .)

This can be done by expanding your base get_urls () method

< / Div>

No comments:

Post a Comment