mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-18 05:52:15 +00:00
Cleanup
This commit is contained in:
@@ -25,7 +25,7 @@ from django.utils.decorators import method_decorator
|
||||
|
||||
|
||||
# Displays the current rig count along with a few other bits and pieces
|
||||
@method_decorator(never_cache, name='dispatch') # Disable browser based caching
|
||||
@method_decorator(never_cache, name='dispatch') # Disable browser based caching
|
||||
class Index(generic.TemplateView):
|
||||
template_name = 'index.html'
|
||||
|
||||
@@ -34,6 +34,7 @@ class Index(generic.TemplateView):
|
||||
context['rig_count'] = models.Event.objects.rig_count()
|
||||
return context
|
||||
|
||||
|
||||
class SecureAPIRequest(generic.View):
|
||||
models = {
|
||||
'venue': models.Venue,
|
||||
|
||||
Reference in New Issue
Block a user