Added empty users app
This commit is contained in:
parent
7121ca80d9
commit
50804b4b1d
|
@ -0,0 +1 @@
|
|||
# Django, be happy.
|
|
@ -0,0 +1,8 @@
|
|||
from django.conf.urls import patterns, url
|
||||
|
||||
from .views import LoginView
|
||||
|
||||
urlpatterns = patterns(
|
||||
'',
|
||||
url(r'^login/$', LoginView.as_view()),
|
||||
)
|
|
@ -0,0 +1,11 @@
|
|||
from django.views.generic import View
|
||||
from django.template import RequestContext
|
||||
from django.shortcuts import render_to_response
|
||||
|
||||
|
||||
class LoginView(View):
|
||||
template = 'landing/landing.html'
|
||||
|
||||
def get(self, request):
|
||||
ctx = RequestContext(request, {})
|
||||
return render_to_response(self.template, context_instance=ctx)
|
Reference in New Issue