Remove link to Django's admin site. User are discouraged to change entries directly in the database.

This commit is contained in:
Roberto Rosario
2015-06-29 14:01:52 -04:00
parent 1c084aa07b
commit 02761cda25
2 changed files with 2 additions and 4 deletions

View File

@@ -10,7 +10,6 @@ def is_superuser(context):
link_about = Link(icon='fa fa-question', text=_('About'), view='common:about_view')
link_admin_site = Link(condition=is_superuser, icon='fa fa-keyboard-o', text=_('Admin site'), view='admin:index')
link_current_user_details = Link(icon='fa fa-user', text=_('User details'), view='common:current_user_details')
link_current_user_edit = Link(icon='fa fa-user', text=_('Edit details'), view='common:current_user_edit')
link_current_user_locale_profile_details = Link(icon='fa fa-globe', text=_('Locale profile'), view='common:current_user_locale_profile_details')