Why view on site linked to an unwanted page.Can i disable view on site
+1
A:
See the django-docs You can overwrite the admin-templates or see here, how to use it
vikingosegundo
2009-06-08 13:20:30
+1
A:
View on site determines the URL to link to by checking the Sites
app and adding the model's get_absolute_url()
method on the end of it.
rennat
2009-06-08 16:36:13
A:
sudo vi /usr/local/lib/python2.6/dist-packages/django/contrib/admin/templates/admin$/change_from.html.
in this file comment out the if condition
{% if has_absolute_url %}
then view on site will never appear
ha22109
2009-06-15 11:31:38