Spaces:
Sleeping
Sleeping
Download src/lists/models.py from pruek0704/django-docker: direct link, hf CLI and curl.
- Browser
- Download file 278 Bytes
-
https://huggingface.co/spaces/pruek0704/django-docker/resolve/main/src/lists/models.py
- Command line
-
hf download hf://spaces/pruek0704/django-docker/src/lists/models.py
-
curl -L -o models.py https://huggingface.co/spaces/pruek0704/django-docker/resolve/main/src/lists/models.py
278 Bytes
| from django.db import models | |
| # Create your models here. | |
| class List(models.Model): | |
| pass | |
| class Item(models.Model): | |
| text = models.TextField(default="") | |
| list = models.ForeignKey(List, default= None, on_delete=models.CASCADE) | |
| priority = models.TextField(default="") |