Guest User

Untitled

a guest
Jan 22nd, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. class Blurb(models.Model):
  2. ident = models.CharField(..., db_index=True)
  3. blurb = models.TextField(...)
  4.  
  5. PK ident text
  6. 1 main Hey! Do you like this template? This...
  7.  
  8. {% load blurb %}
  9. ...
  10. {% blurb main %}
  11.  
  12. class SomeText(models.Model):
  13. position = models.CharField(max_length=120, choices=POSITION_DESCRIPTORS)
  14. text = models.TextField()
Add Comment
Please, Sign In to add comment