1. Javier Novoa C.
  2. ucommentapp

Commits

Javier Novoa C.  committed dc9d2ae

admin_link depends on current url_views_prefix configuration.

Mmmm this sounds as admin_link conf is not the right solution, or that
it should be placed anywhere on the code...

  • Participants
  • Parent commits 835de8f
  • Branches default

Comments (0)

Files changed (1)

File conf/settings.py

View file
 # Header image
 header_image = STATIC_URL
 
-# Admin link
-admin_link = ("/" if url_views_prefix != "" else "") + url_views_prefix + "/_admin"
-
 # Create a ``local_settings.py`` file that overrides settings in this file.
 # This is useful if you update ucommentapp from revision control and don't want
 # to loose your settings everytime.  Be sure to check for diffs against
     pass
 
 del this_dir, sep, getcwd, mkdtemp
+
+# Admin link
+admin_link = ("/" if url_views_prefix != "" else "") + url_views_prefix + "/_admin"