old_contents: from django.conf import settings
  
  if settings.DEBUG:
      # In Debug mode we serve the media urls as public by default
      STRONGHOLD_PUBLIC_URLS = (r'^/static/.+$', r'^/media/.+$')
  else:
      # make no such assumptions in production
      STRONGHOLD_PUBLIC_URLS = ()
  
  
  STRONGHOLD_PUBLIC_URLS = getattr(settings,
                                   'STRONGHOLD_PUBLIC_URLS',
                                   STRONGHOLD_PUBLIC_URLS)
  
new_contents: from django.conf import settings
  from django.core.urlresolvers import reverse
  
  if settings.DEBUG:
      # In Debug mode we serve the media urls as public by default
      # We should also serve the login/logout pages as public
      STRONGHOLD_PUBLIC_URLS = (
          r'^%s.+$' % settings.STATIC_URL,
          r'^%s.+$' % settings.MEDIA_URL,
          r'^%s$' % reverse('login'),
          r'^%s$' % reverse('logout')
          )
  else:
      # make no such assumptions in production
      STRONGHOLD_PUBLIC_URLS = ()
  
  
  STRONGHOLD_PUBLIC_URLS = getattr(settings,
                                   'STRONGHOLD_PUBLIC_URLS',
                                   STRONGHOLD_PUBLIC_URLS)
  
subject: add login/logout urls to default made the default URLs comply with DRY