fmartingr
/
shelfzilla
Archived
1
0
Fork 0

Added empty users app

This commit is contained in:
Felipe Martin 2014-03-18 18:23:19 +01:00
parent 7121ca80d9
commit 50804b4b1d
5 changed files with 20 additions and 0 deletions

View File

View File

View File

@ -0,0 +1 @@
# Django, be happy.

View File

@ -0,0 +1,8 @@
from django.conf.urls import patterns, url
from .views import LoginView
urlpatterns = patterns(
'',
url(r'^login/$', LoginView.as_view()),
)

View File

@ -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)