text: import django
  
  if django.VERSION < (2, 0):
      from django.conf.urls import url, include
  else:
      from django.urls import re_path as url, include
  from django.conf import settings
  
  urlpatterns = []
  if 'admin_tools.menu' in settings.INSTALLED_APPS:
      urlpatterns.append(url(r'^menu/', include('admin_tools.menu.urls')))
  if 'admin_tools.dashboard' in settings.INSTALLED_APPS:
      urlpatterns.append(
          url(r'^dashboard/', include('admin_tools.dashboard.urls'))
      )
  