SHARE
TWEET

Untitled

a guest Jan 22nd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top