Basic permission logic

This commit is contained in:
Raphael Michel
2014-09-12 21:51:50 +02:00
parent f20cec3caf
commit 1b579a7e45
6 changed files with 47 additions and 22 deletions
+3 -1
View File
@@ -3,7 +3,9 @@ from django.core.urlresolvers import resolve
def contextprocessor(request):
return {
ctx = {
'url_name': resolve(request.path_info).url_name,
'settings': settings,
}
return ctx