from django.http import HttpResponseRedirect, QueryDict
from philo.admin import EntityAdmin, COLLAPSE_CLASSES
from django.http import HttpResponseRedirect, QueryDict
from philo.admin import EntityAdmin, COLLAPSE_CLASSES
from philo.contrib.penfield.models import BlogEntry, Blog, BlogView, Newsletter, NewsletterArticle, NewsletterIssue, NewsletterView
from philo.contrib.penfield.models import BlogEntry, Blog, BlogView, Newsletter, NewsletterArticle, NewsletterIssue, NewsletterView
)
related_lookup_fields = {'fk': raw_id_fields}
prepopulated_fields = {'slug': ('title',)}
)
related_lookup_fields = {'fk': raw_id_fields}
prepopulated_fields = {'slug': ('title',)}
def author_names(self, obj):
return ', '.join([author.get_full_name() for author in obj.authors.all()])
def author_names(self, obj):
return ', '.join([author.get_full_name() for author in obj.authors.all()])