old_contents: from django.conf import settings
  from django.conf.urls import patterns, include, url
  from django.contrib.staticfiles.urls import staticfiles_urlpatterns
  from django.contrib import admin
  
  from api.v3.urls import api_v3_docs
  
  admin.autodiscover()
  
  urlpatterns = patterns(
      '',
      # (r'^admin/queue/', include('django_rq.urls')),
      url(r'^admin/task_queue/', include('task_queue.urls')),
      # url(r'^admin/geoadmin/', 'geodata.views.geoadmin'),
      url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
      url(r'^admin/', include(admin.site.urls)),
      url(r'^api/', include('api.urls')),
      url(r'^$', api_v3_docs),
      url(r'', api_v3_docs),
  
  )
  
  if settings.DEBUG:
      urlpatterns += staticfiles_urlpatterns()
      urlpatterns += patterns('',
          url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
              'document_root': settings.MEDIA_ROOT,
              }),
      )
new_contents: from django.conf import settings
  from django.conf.urls import patterns, include, url
  from django.contrib.staticfiles.urls import staticfiles_urlpatterns
  from django.contrib import admin
  from django_rq import urls as django_rq_urls
  from api.v3.urls import api_v3_docs
  
  admin.autodiscover()
  
  urlpatterns = patterns(
      '',
      (r'^admin/queue/', include(django_rq_urls)),
      url(r'^admin/task_queue/', include('task_queue.urls')),
      # url(r'^admin/geoadmin/', 'geodata.views.geoadmin'),
      url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
      url(r'^admin/', include(admin.site.urls)),
      url(r'^api/', include('api.urls')),
      url(r'^$', api_v3_docs),
      url(r'', api_v3_docs),
  
  )
  
  if settings.DEBUG:
      urlpatterns += staticfiles_urlpatterns()
      urlpatterns += patterns('',
          url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
              'document_root': settings.MEDIA_ROOT,
              }),
      )
subject: test django rq urls #1