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

All Samples(10)  |  Call(1)  |  Derive(0)  |  Import(9)

src/d/j/django-feedbrater-0.9.6/feeds/update.py   django-feedbrater(Download)
from django.contrib.auth.models import User
 
from feeds.models import Feed, FeedPostCount, Post, Tag
from feeds.tools import encode, prints, mtime
 
                date_modified = datetime.datetime.now()
            owner = User.objects.get(pk=1)
            tobj = Post(feed=self.feed, title=title, link=link,
                content=content, guid=guid, date_modified=date_modified,
                author=author, author_email=author_email,

src/d/j/django-feedbrater-0.9.6/feeds/views.py   django-feedbrater(Download)
from django.utils.timezone import utc
 
from feeds.models import Feed, Post, Category, Tag, PostReadCount
from feeds.forms import FeedCreateForm, CategoryCreateForm, TagCreateForm
from feeds.forms import FeedUpdateForm, CategoryUpdateForm

src/d/j/django-feedbrater-0.9.6/feeds/admin.py   django-feedbrater(Download)
from django.contrib import admin
 
from feeds.models import Feed, Post, FeedPostCount, Category, Tag
from feeds.forms import FeedAdminForm
 

src/d/j/django-feedbrater-0.9.6/feeds/tasks.py   django-feedbrater(Download)
 
from feeds.tools import mtime
from feeds.models import Feed, Post, Tag, Category
 
def get_entry_guid(entry, feed_id=None):

src/d/j/django-feedbrater-0.9.6/feeds/sitemap.py   django-feedbrater(Download)
from django.db.models import Max
 
from feeds.models import Feed, Post, Category, Tag
 
class FeedSitemap(Sitemap):

src/d/j/django-feedbrater-0.9.6/feeds/search_indexes.py   django-feedbrater(Download)
import datetime
 
from haystack import indexes
from haystack import site
from feeds.models import Feed, Post, Tag

src/d/j/django-feedbrater-0.9.6/feeds/rss.py   django-feedbrater(Download)
from django.utils.feedgenerator import Rss201rev2Feed
 
from feeds.models import Feed, Post
 
class ITunesFeed(Rss201rev2Feed):

src/d/j/django-feedbrater-0.9.6/feeds/social.py   django-feedbrater(Download)
def update():
    # ToDo:
    # should be done threaded, handled by Dispatcher below...
    from feeds.models import Post
    one_hour_ago = datetime.datetime.now()-datetime.timedelta(0,3600,0)

src/d/j/django-feedbrater-0.9.6/feeds/tests.py   django-feedbrater(Download)
from django.core.urlresolvers import reverse
 
from feeds.models import Feed, Post
from feeds.tasks import aggregate, entry_process, feed_refresh, dummy