Spaces:
Runtime error
Runtime error
Download src/landing/views.py from pgsoft/django-pgsns: direct link, hf CLI and curl.
- Browser
- Download file 185 Bytes
-
https://huggingface.co/spaces/pgsoft/django-pgsns/resolve/main/src/landing/views.py
- Command line
-
hf download hf://spaces/pgsoft/django-pgsns/src/landing/views.py
-
curl -L -o views.py https://huggingface.co/spaces/pgsoft/django-pgsns/resolve/main/src/landing/views.py
185 Bytes
| from django.shortcuts import render | |
| from django.views import View | |
| class Index(View): | |
| def get(self, request, *args, **kwargs): | |
| return render(request, 'landing/index.html') | |