mirror of https://github.com/fspc/workstand.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
422 B
16 lines
422 B
from django.template.response import TemplateResponse
|
|
from django.views.generic import View
|
|
|
|
from core.forms import MembershipForm
|
|
|
|
|
|
class DashboardView(View):
|
|
def get(self, request):
|
|
return TemplateResponse(request, 'dashboard.html')
|
|
|
|
|
|
class NewMembershipView(View):
|
|
def get(self, request):
|
|
form = MembershipForm()
|
|
|
|
return TemplateResponse(request, 'membership_form.html', {'form': form})
|
|
|