Spaces:
Runtime error
Runtime error
Download apps/authentication/models.py from CineDev/talvax-backend: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/spaces/CineDev/talvax-backend/resolve/main/apps/authentication/models.py
- Command line
-
hf download hf://spaces/CineDev/talvax-backend/apps/authentication/models.py
-
curl -L -o models.py https://huggingface.co/spaces/CineDev/talvax-backend/resolve/main/apps/authentication/models.py
403 Bytes
| from django.db import models | |
| class TestCredential(models.Model): | |
| role = models.CharField(max_length=50) # 'recruiter', 'candidate', 'admin' | |
| label = models.CharField(max_length=100) # e.g. 'Enterprise Admin', 'Recruiter Lead' | |
| email = models.EmailField() | |
| password = models.CharField(max_length=255) # token or password | |
| def __str__(self): | |
| return f"{self.label} ({self.role})" | |