- from django.db import models
- class Thing(models.Model):
- name = models.CharField(max_length=255)
- description = models.TextField()
- slug = models.SlugField(unique=True)
a guest Jul 8th, 2015 325 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data