<commit_before># -*- coding: utf-8 -*-

from django.conf.urls.defaults import *
from django.conf import settings
from django.contrib import admin

from cronos.signup.forms import SignupCronos, SignupDionysos, SignupEclass, SignupWebmail
from cronos.signup.views import SignupWizard

from cronos.announcements.feeds import LatestEntries

from cronos.login.views import *
from cronos.eclass.views import *
from cronos.declaration.views import *
from cronos.webmail.views import *
from cronos.announcements.views import *
from cronos.user.views import *

admin.autodiscover()

feeds = {
	'announcements':LatestEntries,
	}

handler500 = 'cronos.login.views.server_error'

urlpatterns = patterns('',
	(r'^$', mylogin),
	(r'^eclass/', eclass),
	(r'^declaration', declaration),
	(r'^webmail/', webmail),
	(r'^announcements/', announcements),
	(r'^logout/', mylogout),
	(r'^user/', user),
	(r'^settings/', user_settings),

	url(r'^library/', include('cronos.library.urls')),

	url(r'^ldap/', include('cronos.ldap_groups.urls')),

	(r'^signup/', SignupWizard([SignupCronos, SignupDionysos, SignupEclass, SignupWebmail])),

	(r'^feeds/(?P<url>.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}),

	(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True }),
	
	# 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)),
)<commit_msg>Change feeds url from /feeds/announcements/ to /announcements/feeds/<commit_after># -*- coding: utf-8 -*-

from django.conf.urls.defaults import *
from django.conf import settings
from django.contrib import admin

from cronos.signup.forms import SignupCronos, SignupDionysos, SignupEclass, SignupWebmail
from cronos.signup.views import SignupWizard

from cronos.announcements.feeds import LatestEntries

from cronos.login.views import *
from cronos.eclass.views import *
from cronos.declaration.views import *
from cronos.webmail.views import *
from cronos.announcements.views import *
from cronos.user.views import *

admin.autodiscover()

feeds = {
	'announcements':LatestEntries,
	}

handler500 = 'cronos.login.views.server_error'

urlpatterns = patterns('',
	(r'^$', mylogin),
	(r'^eclass/', eclass),
	(r'^declaration', declaration),
	(r'^webmail/', webmail),
	(r'^logout/', mylogout),
	(r'^user/', user),
	(r'^settings/', user_settings),

	url(r'^library/', include('cronos.library.urls')),

	url(r'^ldap/', include('cronos.ldap_groups.urls')),

	(r'^signup/', SignupWizard([SignupCronos, SignupDionysos, SignupEclass, SignupWebmail])),

	(r'^(?P<url>announcements)/feeds/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}),
	(r'^announcements/', announcements),
	
	(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True }),
	
	# 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)),
)
{'fraction_non_alphanumeric': 0.16631387964922892, 'fraction_numerical': 0.002419110976716057, 'mean_word_length': 5.709939148073023, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2412981', 'n_tokens_mistral': 1250, 'n_tokens_neox': 1179, 'n_words': 236}