<commit_before>from django.contrib import admin
from django.urls import path

urlpatterns = [
    path('admin/', admin.site.urls),
]


from django.conf.urls import include, url
from django.contrib import admin
from django.conf import settings
from app import views
from django.conf.urls.static import static
from django.urls import re_path


urlpatterns = [
    re_path(r'^app/', include('app.urls')),
    re_path(r'^api/', include('api.urls')),
    re_path(r'^logout/$', views.logout_user),
    re_path(r'^admin/', admin.site.urls),
    re_path(r'^$', views.index),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

# Print banner on the console when the server starts
print(settings.BANNER)

# Custom Admin Site Header
admin.site.site_header = settings.NAME<commit_msg>Removed the old  django unwanted imports<commit_after>from django.contrib import admin
from django.conf.urls import include, url
from django.conf import settings
from app import views
from django.conf.urls.static import static
from django.urls import re_path


urlpatterns = [
    re_path(r'^app/', include('app.urls')),
    re_path(r'^api/', include('api.urls')),
    re_path(r'^logout/$', views.logout_user),
    re_path(r'^admin/', admin.site.urls),
    re_path(r'^$', views.index),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

# Print banner on the console when the server starts
print(settings.BANNER)

# Custom Admin Site Header
admin.site.site_header = settings.NAME
{'fraction_non_alphanumeric': 0.12508406186953597, 'fraction_numerical': 0.0, 'mean_word_length': 4.975903614457831, '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': '3773052', 'n_tokens_mistral': 487, 'n_tokens_neox': 480, 'n_words': 123}