Use Django auth framework instead of custom one

- Store users using Django user/group/permission model
- Database is data/plinth.sqlite3 instead of data/user.sqlite3
- Use Django auth context processors in templates
This commit is contained in:
Sunil Mohan Adapa committed 2014-06-28 13:11:34 +02:00
1 parent b1406f59d3
commit cff0f1bdf6
26 files changed
+122 -372

No files matched your search

+2 -2
View File
@@ -19,12 +19,12 @@
Plinth module for running diagnostics
"""
from gettext import gettext as _
from django.contrib.auth.decorators import login_required
from django.template.response import TemplateResponse
from gettext import gettext as _
import actions
import cfg
from ..lib.auth import login_required
def init():