Register buttons.
This commit is contained in:
1 parent
12fafabcdd
commit
96bacb586d
2 files changed
+20
-2
No files matched your search
+3
-1
@@ -6,4 +6,6 @@ from django.template import RequestContext
|
||||
from models import *
|
||||
|
||||
def home(request):
|
||||
return render_to_response('home.html', locals())
|
||||
products = Product.objects.all()
|
||||
users = User.objects.all()
|
||||
return render_to_response('home.html', locals(), context_instance=RequestContext(request))
|
||||
Reference in new issue
Block a user