registration fixes
This commit is contained in:
Binary file not shown.
@@ -1,10 +1,16 @@
|
||||
from django.http import HttpResponseRedirect
|
||||
from django.shortcuts import render
|
||||
from work.forms import HoursInputForm
|
||||
from django.contrib.auth.decorators import login_required
|
||||
|
||||
#
|
||||
# @login_required
|
||||
# def index(request):
|
||||
# return render(request,'registration/login.html')
|
||||
|
||||
@login_required
|
||||
def get_basic_workdata(request):
|
||||
title = None
|
||||
title = "Godziny"
|
||||
if request.method == 'POST':
|
||||
form = HoursInputForm(request.POST)
|
||||
if form.is_valid():
|
||||
|
||||
Reference in New Issue
Block a user