Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from __future__ import unicode_literals
- from django.db import models
- # Create your models here.
- class Thing (models.Model):
- name= models.CharField(max_length=255)
- description=models.TextField()
- slug=models.SlugField(unique=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement