Commit e16b13e3 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Removed old registration thing that didn't work.

parent 911e3365
...@@ -8,10 +8,6 @@ from django.core.exceptions import PermissionDenied ...@@ -8,10 +8,6 @@ from django.core.exceptions import PermissionDenied
from django.contrib.auth.decorators import login_required from django.contrib.auth.decorators import login_required
from django.shortcuts import render, get_object_or_404, redirect from django.shortcuts import render, get_object_or_404, redirect
# Check if user is registered.
def is_registered(user):
return user.groups.filter(name="Registered").exists()
# Homepage view. # Homepage view.
@login_required @login_required
def index(request): def index(request):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment