<commit_before>from django.conf.urls.defaults import *
from django.conf import settings
import os

from modules import try_import

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^datahq/', include('datahq.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/', include(admin.site.urls)),
    
    # This is a bit kloogey - but since most of these urls don't span
    # a single namespace (e.g. domain/ and accounts/ for domain app) 
    # we just include the urls at the root.
    # The correct solution is likely to break apart urls or harmonize
    # apps so they all have proper prefixing.
    (r'', include('hqwebapp.urls')),
    (r'', include('domain.urls')),
    (r'', include('receiver.urls')),
    (r'user_registration', include("user_registration.urls"))
)

# magic static media server (idea + implementation lifted from rapidsms)
for module_name in settings.INSTALLED_APPS:<commit_msg>add xformmanager urls<commit_after>from django.conf.urls.defaults import *
from django.conf import settings
import os

from modules import try_import

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^datahq/', include('datahq.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/', include(admin.site.urls)),
    
    # This is a bit kloogey - but since most of these urls don't span
    # a single namespace (e.g. domain/ and accounts/ for domain app) 
    # we just include the urls at the root.
    # The correct solution is likely to break apart urls or harmonize
    # apps so they all have proper prefixing.
    (r'', include('hqwebapp.urls')),
    (r'', include('domain.urls')),
    (r'', include('receiver.urls')),
    (r'', include('xformmanager.urls')),
    (r'user_registration', include("user_registration.urls"))
)

# magic static media server (idea + implementation lifted from rapidsms)
for module_name in settings.INSTALLED_APPS:
{'fraction_non_alphanumeric': 0.11589008363201912, 'fraction_numerical': 0.0, 'mean_word_length': 3.8494208494208495, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3340033', 'n_tokens_mistral': 787, 'n_tokens_neox': 775, 'n_words': 259}