mirror of
https://github.com/DerTyp7/tealcode-django-python.git
synced 2025-10-30 12:57:07 +01:00
added views and admin security
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
from django.shortcuts import render
|
||||
from django.contrib.auth.decorators import login_required
|
||||
|
||||
@login_required
|
||||
def index(req):
|
||||
return render(req, 'analytics/index.html')
|
||||
Reference in New Issue
Block a user