Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/j/a/jaam-HEAD/jaam/urls.py   jaam(Download)
from tastypie.api import Api
from jaam import settings
from jaam.feeds import LatestBlogsFeed, LatestStoriesFeed, LatestPhotosFeed
from jaam.api.resources import ProjectResource, PhotoGalleryResource, PhotoResource, VideoGalleryResource
from jaam.api.resources import VideoResource, StoryResource, BlogResource, BlogPostResource, DocumentResource, SearchResource
 
    # RSS Feeds
    (r'^feeds/(?P<project_slug>[^\\]+)/blog_posts.rss$', LatestBlogsFeed()),
    (r'^feeds/(?P<project_slug>[^\\]+)/stories.rss$', LatestStoriesFeed()),
    (r'^feeds/(?P<project_slug>[^\\]+)/photos.rss$', LatestPhotosFeed()),

src/j/a/jaam-HEAD/jaam/projects/models.py   jaam(Download)
    def rss_urls(self):
        from jaam.feeds import LatestPhotosFeed, LatestStoriesFeed, LatestBlogsFeed
        domain = Site.objects.get_current().domain
        photos = "<a href='%s'>Photos</a><br>" % LatestPhotosFeed().link(self)
        stories = "<a href='%s'>Stories</a><br>" % LatestStoriesFeed().link(self)