# Path: feedjack/models.py
# def get_by_string(cls, fields, query):
# 	def __unicode__(self): return u'%s (%s)' % (self.name, self.link)
# 	def get_by_string(self, query):
# 	def feeds(self):
# 	def active_subscribers(self):
# 	def active_feeds(self):
# 	def __unicode__(self): return self.name
# 	def signal_updated_dispatch(self, sender=signal_sender_empty):
# 	def save(self, *argz, **kwz):
# 	def handler(self):
# 	def handler_description(self):
# 	def __unicode__(self): return u'{0.name} ({0.handler_name})'.format(self)
# 	def handler(self):
# 	def shortname(self): return self.__unicode__(short=True)
# 	def __unicode__(self, short=False):
# 	def __unicode__(self):
# 	def apply_overlay_to_posts(self, posts):
# 	def get_overlay_for_post(self, post, stored_check=True, stored_only=False):
# 	def overlay(self): return self.overlay_decode(self.overlay_dump)
# 	def overlay(self, data): self.overlay_dump = json.dumps(data) if data else None
# 	def overlay_decode(self, data):
# 	def timestamps(self):
# 	def get_by_string(self, query):
# 	def __unicode__(self):
# 	def is_active_on_site(self, site):
# 	def signal_updated_dispatch(self, sender=signal_sender_empty):
# 	def calculate_check_interval( self,
# 			max_interval, ewma_factor, max_days=None,
# 			max_updates=None, ewma=0, ewma_ts=None,
# 			add_partial=None ):
# 	def processor_for_tags(self, tags=None, default_fallback=True):
# 	def _filters_update_handler_check(sender, instance, **kwz):
# 	def _filters_update_handler( sender, instance, force=False,
# 			created=None, # post_save-specific
# 			model=None, pk_set=list(), reverse=None, action=None, # m2m-specific
# 			**kwz ):
# 	def update_handler(feeds):
# 	def __unicode__(self): return self.name
# 	def similar(self, threshold, **criterias):
# 	def with_criterias(self, site, feed=None, tag=None, since=None):
# 	def sorted(self, site_ordering_id, force=None):
# 	def filtered(self, site=None, for_display=True, **criterias):
# 	def _enclosures_set(self, data):
# 	def _enclosures_get(self):
# 	def _get_ordering_attribute(site_ordering_id):
# 	def date_on_site(self, site):
# 	def _filtering_result(self, by_or):
# 	def _filtering_result_checked(self, by_or):
# 	def filtering_result_update(self):
# 	def apply_overlay(self, overlay):
# 	def __unicode__(self): return self.title
# 	def get_absolute_url(self): return self.link
# 	def save(self, *argz, **kwz):
# 	def _update_handler(sender, instance, delete=False, **kwz):
# 	def __unicode__(self): return u'%s in %s' % (self.feed, self.site)
# 	def get_cloud(self):
# 	def save(self, *argz, **kwz):
# 	def _update_handler_check(sender, instance, **kwz):
# 	def _update_handler(sender, instance, created, **kwz):
# def transaction_signaled_commit(using=None):
# def transaction_signaled_rollback(using=None):
# def transaction_wrapper(func, logger=None, print_exc=None): # XXX: not needed anymore!!!
# 		def _transaction_wrapper(*argz, **kwz):
# def transaction_bulk_start(signal, sender, **kwz):
# def transaction_bulk_process(signal, sender, **kwz):
# def transaction_bulk_cancel(signal, sender, **kwz):
# def transaction_bulk_finish(signal, sender, **kwz):
# class Link(models.Model):
# 	class Meta:
# 	class Admin: pass
# class Sites(models.Manager):
# class Site(models.Model):
# 	class Meta:
# class ProcessingThingBase(models.Model):
# 	class Meta:
# class ProcessingThing(models.Model):
# 	class Meta:
# class FilterBase(ProcessingThingBase):
# class Filter(ProcessingThing):
# class FilterResult(models.Model):
# class PostProcessorBase(ProcessingThingBase):
# class PostProcessor(ProcessingThing):
# class PostProcessorTag(models.Model):
# class PostProcessorResult(models.Model):
# 	class Meta:
# class FeedQuerySet(models.query.QuerySet):
# class Feeds(models.Manager):
# class Feed(models.Model):
# 	class Meta:
# class Tag(models.Model):
# 	class Meta:
# class PostQuerySet(models.query.QuerySet):
# class Posts(models.Manager):
# class Post(models.Model):
# 	class Meta:
# class Subscriber(models.Model):
# 	class Meta:
# SITE_ORDERING = namedtuple( 'SiteOrdering',
# 	'modified created created_day' )(*xrange(1, 4))
# FILTER_CR_REBUILD = namedtuple(
# 	'CrossrefRebuild', 'new all' )(*xrange(2))
# FILTER_CR_TIMELINE_MAP = 'created', 'modified' # used to get column name
# FILTER_CR_TIMELINE = namedtuple( 'CrossrefTimeline',
# 	' '.join(FILTER_CR_TIMELINE_MAP) )(*xrange(2))
# FEED_FILTERING_LOGIC = namedtuple('FilterLogic', 'all any')(*xrange(2))


from django.contrib import admin
from django.utils.translation import ugettext_lazy as _
from feedjack import models
# -*- coding: utf-8 -*-




class SiteAdmin(admin.ModelAdmin):
	list_display = 'url', 'name'
	filter_vertical = 'links',

# Path: feedjack/models.py
# def get_by_string(cls, fields, query):
# 	def __unicode__(self): return u'%s (%s)' % (self.name, self.link)
# 	def get_by_string(self, query):
# 	def feeds(self):
# 	def active_subscribers(self):
# 	def active_feeds(self):
# 	def __unicode__(self): return self.name
# 	def signal_updated_dispatch(self, sender=signal_sender_empty):
# 	def save(self, *argz, **kwz):
# 	def handler(self):
# 	def handler_description(self):
# 	def __unicode__(self): return u'{0.name} ({0.handler_name})'.format(self)
# 	def handler(self):
# 	def shortname(self): return self.__unicode__(short=True)
# 	def __unicode__(self, short=False):
# 	def __unicode__(self):
# 	def apply_overlay_to_posts(self, posts):
# 	def get_overlay_for_post(self, post, stored_check=True, stored_only=False):
# 	def overlay(self): return self.overlay_decode(self.overlay_dump)
# 	def overlay(self, data): self.overlay_dump = json.dumps(data) if data else None
# 	def overlay_decode(self, data):
# 	def timestamps(self):
# 	def get_by_string(self, query):
# 	def __unicode__(self):
# 	def is_active_on_site(self, site):
# 	def signal_updated_dispatch(self, sender=signal_sender_empty):
# 	def calculate_check_interval( self,
# 			max_interval, ewma_factor, max_days=None,
# 			max_updates=None, ewma=0, ewma_ts=None,
# 			add_partial=None ):
# 	def processor_for_tags(self, tags=None, default_fallback=True):
# 	def _filters_update_handler_check(sender, instance, **kwz):
# 	def _filters_update_handler( sender, instance, force=False,
# 			created=None, # post_save-specific
# 			model=None, pk_set=list(), reverse=None, action=None, # m2m-specific
# 			**kwz ):
# 	def update_handler(feeds):
# 	def __unicode__(self): return self.name
# 	def similar(self, threshold, **criterias):
# 	def with_criterias(self, site, feed=None, tag=None, since=None):
# 	def sorted(self, site_ordering_id, force=None):
# 	def filtered(self, site=None, for_display=True, **criterias):
# 	def _enclosures_set(self, data):
# 	def _enclosures_get(self):
# 	def _get_ordering_attribute(site_ordering_id):
# 	def date_on_site(self, site):
# 	def _filtering_result(self, by_or):
# 	def _filtering_result_checked(self, by_or):
# 	def filtering_result_update(self):
# 	def apply_overlay(self, overlay):
# 	def __unicode__(self): return self.title
# 	def get_absolute_url(self): return self.link
# 	def save(self, *argz, **kwz):
# 	def _update_handler(sender, instance, delete=False, **kwz):
# 	def __unicode__(self): return u'%s in %s' % (self.feed, self.site)
# 	def get_cloud(self):
# 	def save(self, *argz, **kwz):
# 	def _update_handler_check(sender, instance, **kwz):
# 	def _update_handler(sender, instance, created, **kwz):
# def transaction_signaled_commit(using=None):
# def transaction_signaled_rollback(using=None):
# def transaction_wrapper(func, logger=None, print_exc=None): # XXX: not needed anymore!!!
# 		def _transaction_wrapper(*argz, **kwz):
# def transaction_bulk_start(signal, sender, **kwz):
# def transaction_bulk_process(signal, sender, **kwz):
# def transaction_bulk_cancel(signal, sender, **kwz):
# def transaction_bulk_finish(signal, sender, **kwz):
# class Link(models.Model):
# 	class Meta:
# 	class Admin: pass
# class Sites(models.Manager):
# class Site(models.Model):
# 	class Meta:
# class ProcessingThingBase(models.Model):
# 	class Meta:
# class ProcessingThing(models.Model):
# 	class Meta:
# class FilterBase(ProcessingThingBase):
# class Filter(ProcessingThing):
# class FilterResult(models.Model):
# class PostProcessorBase(ProcessingThingBase):
# class PostProcessor(ProcessingThing):
# class PostProcessorTag(models.Model):
# class PostProcessorResult(models.Model):
# 	class Meta:
# class FeedQuerySet(models.query.QuerySet):
# class Feeds(models.Manager):
# class Feed(models.Model):
# 	class Meta:
# class Tag(models.Model):
# 	class Meta:
# class PostQuerySet(models.query.QuerySet):
# class Posts(models.Manager):
# class Post(models.Model):
# 	class Meta:
# class Subscriber(models.Model):
# 	class Meta:
# SITE_ORDERING = namedtuple( 'SiteOrdering',
# 	'modified created created_day' )(*xrange(1, 4))
# FILTER_CR_REBUILD = namedtuple(
# 	'CrossrefRebuild', 'new all' )(*xrange(2))
# FILTER_CR_TIMELINE_MAP = 'created', 'modified' # used to get column name
# FILTER_CR_TIMELINE = namedtuple( 'CrossrefTimeline',
# 	' '.join(FILTER_CR_TIMELINE_MAP) )(*xrange(2))
# FEED_FILTERING_LOGIC = namedtuple('FilterLogic', 'all any')(*xrange(2))


# Path: feedjack/admin.py
from django.contrib import admin
from django.utils.translation import ugettext_lazy as _
from feedjack import models

# -*- coding: utf-8 -*-




class SiteAdmin(admin.ModelAdmin):
	list_display = 'url', 'name'
	filter_vertical = 'links',

admin.site.register(models.Site, SiteAdmin)