Created
August 9, 2018 20:13
-
-
Save moacirmoda/f5b5616bb2b054d11a57e71891191efc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Page(models.Model): | |
url = models.URLField(help_text="Example: '/about/contact/'. Make sure to have leading and trailing slashes.") | |
title = models.CharField(max_length=50) | |
content = models.TextField(help_text="Full HTML is allowed.") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment