Spaces:
Sleeping
Sleeping
Download server/templates/level_6/models.py from anonajay/lint_coding_agent: direct link, hf CLI and curl.
- Browser
- Download file 245 Bytes
-
https://huggingface.co/spaces/anonajay/lint_coding_agent/resolve/main/server/templates/level_6/models.py
- Command line
-
hf download hf://spaces/anonajay/lint_coding_agent/server/templates/level_6/models.py
-
curl -L -o models.py https://huggingface.co/spaces/anonajay/lint_coding_agent/resolve/main/server/templates/level_6/models.py
245 Bytes
| from django.db import models | |
| class Author(models.Model): | |
| name = models.CharField(max_length=100) | |
| class Post(models.Model): | |
| title = models.CharField(max_length=100) | |
| author = models.ForeignKey(Author, on_delete=models.CASCADE) |