This file contains 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
<?xml version="1.0" encoding="UTF-8" ?> | |
<rss version="2.0"> | |
<channel> | |
<title>RSS Example</title> | |
<description>This is an example of an RSS feed</description> | |
<link>http://www.domain.com/link.htm</link> | |
<lastBuildDate>Mon, 28 Aug 2006 11:12:55 -0400 </lastBuildDate> | |
<pubDate>Tue, 29 Aug 2006 09:00:00 -0400</pubDate> |
This file contains 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
from picocms.models import CMSModel, CMSCategory, ActiveModelManager | |
from picocms import fields | |
ARTICLES_ROOT = 'Publications' | |
class Article(CMSModel): | |
""" Defines an article for the CMS """ | |
date_display = models.DateTimeField(default=datetime.datetime.now()) #: | |
highlight = models.BooleanField(default=False, verbose_name=u'Highlight') #: |
This file contains 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
from picocms.models import CMSModel, CMSCategory, ActiveModelManager | |
from picocms import fields | |
ARTICLES_ROOT = 'Publications' | |
class Article(CMSModel): | |
""" Defines an article for the CMS """ | |
date_display = models.DateTimeField(default=datetime.datetime.now()) #: | |
highlight = models.BooleanField(default=False, verbose_name=u'Highlight') #: |