missing parameter
parent
c536870cdd
commit
be8011bb49
|
@ -40,7 +40,7 @@ class KeyMachineView(TemplateView):
|
||||||
template_name = 'users/keymachine.html'
|
template_name = 'users/keymachine.html'
|
||||||
|
|
||||||
class RandomView(View):
|
class RandomView(View):
|
||||||
def get(self):
|
def get(self, request):
|
||||||
url = None
|
url = None
|
||||||
users = list(Townie.objects.all())
|
users = list(Townie.objects.all())
|
||||||
random.shuffle(users)
|
random.shuffle(users)
|
||||||
|
|
Loading…
Reference in New Issue