Download pool/shard009/Python/0080355_models.py from Variable-role/sajaniemi_variable_dataset_large: direct link, hf CLI and curl.
- Browser
- Download file 376 Bytes
-
https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard009/Python/0080355_models.py
- Command line
-
hf download hf://datasets/Variable-role/sajaniemi_variable_dataset_large/pool/shard009/Python/0080355_models.py
-
curl -L -o 0080355_models.py https://huggingface.co/datasets/Variable-role/sajaniemi_variable_dataset_large/resolve/main/pool/shard009/Python/0080355_models.py
376 Bytes
| from django.db import models | |
| from django.conf import settings | |
| from django.contrib.auth import get_user_model | |
| class Event(models.Model): | |
| timestamp = models.DateTimeField(auto_now=True) | |
| type = models.TextField(choices=( | |
| ("chat", "Chat"), ("rpg", "RPG"), ("other", "Other")) | |
| ) | |
| message = models.TextField() | |
| user = models.ForeignKey(get_user_model()) | |