jeffcappa25 / Advanced-Software-Engineering

User Stories
0 stars 0 forks source link

User Story/User needs Interface #15

Open azygous opened 8 years ago

azygous commented 8 years ago
azygous commented 8 years ago

[ ] Secured Web-based interface [https with SSL]

azygous commented 7 years ago

@login_required def home(request): print Login.objects.filter(user=request.user) if len(Login.objects.filter(user=request.user)) == 0: user = User.objects.get(pk=request.user.id) form = LoginForm(request.POST or None) data = { "user": user, "form": form } return render(request, "choose_tipe.html", data) print "Here!" user_m = get_object_or_404(Login, user=request.user) if user_m.tipe == 'Parent': if len(user_m.relation) > 0: return HttpResponseRedirect("/dashboard/") else: print "Here choose_child" return render(request, "choose_child.html", {}) else: return HttpResponseRedirect("/dashboard/")

matosd3 commented 7 years ago

UML DESIGN userinterface