Fix trailing whitespace and missing end-of-file newline
This commit is contained in:
parent
c5289f39bb
commit
a2f38653fb
55 changed files with 160 additions and 183 deletions
|
@ -17,5 +17,3 @@ class EntryAdmin(admin.ModelAdmin):
|
|||
search_fields = ['headline', 'summary', 'body']
|
||||
prepopulated_fields = {'slug': ("headline",)}
|
||||
filter_horizontal = ('tags',)
|
||||
|
||||
|
||||
|
|
|
@ -356,4 +356,3 @@ def main(arglist=None, stdout=sys.stdout, stderr=sys.stderr):
|
|||
|
||||
if __name__ == '__main__':
|
||||
exit(main())
|
||||
|
||||
|
|
|
@ -16,6 +16,3 @@ class EventAdmin(admin.ModelAdmin):
|
|||
@admin.register(EventMedia)
|
||||
class EventMediaAdmin(admin.ModelAdmin):
|
||||
list_display = ("event", "format", "novel")
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -96,4 +96,3 @@ class EventMedia(models.Model):
|
|||
|
||||
def __str__(self):
|
||||
return "{} media: {}".format(self.event, self.format)
|
||||
|
||||
|
|
|
@ -19,7 +19,3 @@ class ExternalArticleAdmin(admin.ModelAdmin):
|
|||
list_filter = ['date']
|
||||
date_hierarchy = 'date'
|
||||
search_fields = ["title", "info", "publication"]
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -116,4 +116,3 @@ class ExternalArticle(models.Model):
|
|||
|
||||
objects = models.Manager()
|
||||
public = PublicExternalArticleManager()
|
||||
|
||||
|
|
|
@ -92,4 +92,3 @@ class NewsDateDetailView(DateDetailView):
|
|||
# # del kwargs['slug']
|
||||
# callable = NewsDateDetailView.as_view(**kwargs)
|
||||
# return callable(request)
|
||||
|
||||
|
|
|
@ -39,5 +39,3 @@ class CastAdmin(admin.ModelAdmin):
|
|||
search_fields = ['title', 'summary', 'body']
|
||||
prepopulated_fields = {'slug': ("title",)}
|
||||
filter_horizontal = ('tags',)
|
||||
|
||||
|
||||
|
|
|
@ -8,4 +8,3 @@ class PersonAdmin(admin.ModelAdmin):
|
|||
list_display = ("username", "formal_name", "casual_name",
|
||||
"currently_employed")
|
||||
list_filter = ["currently_employed"]
|
||||
|
||||
|
|
1
conservancy/static/css/tachyons.min.css
vendored
1
conservancy/static/css/tachyons.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -4434,4 +4434,3 @@ being here with Ken thanks so much
|
|||
|
||||
01:00:28.380 --> 01:00:31.380
|
||||
foreign
|
||||
|
||||
|
|
|
@ -202,4 +202,3 @@ we request
|
|||
00:03:38.680 --> 00:03:44.200
|
||||
that you grant Karen Sandler
|
||||
the KU Leuven honorary doctorate.
|
||||
|
||||
|
|
|
@ -214,4 +214,3 @@ op voordracht van de Academische Raad,
|
|||
00:03:38.680 --> 00:03:44.200
|
||||
het eredoctoraat van de KU Leuven
|
||||
te verlenen aan mevrouw Karen Sandler.
|
||||
|
||||
|
|
|
@ -6,4 +6,3 @@ from .models import Supporter
|
|||
@admin.register(Supporter)
|
||||
class SupporterAdmin(admin.ModelAdmin):
|
||||
list_display = ('display_name', 'display_until_date')
|
||||
|
||||
|
|
|
@ -6,4 +6,3 @@ from .models import EarthLocation
|
|||
@admin.register(EarthLocation)
|
||||
class EarthLocationAdmin(admin.ModelAdmin):
|
||||
list_display = ("label", "html_map_link")
|
||||
|
||||
|
|
|
@ -26,4 +26,3 @@ class EarthLocation(models.Model):
|
|||
def html_map_link(self): # for Admin, fixme: fix_ampersands
|
||||
return '<a href="%s">map link</a>' % self.default_map_link()
|
||||
html_map_link.allow_tags = True
|
||||
|
||||
|
|
Loading…
Reference in a new issue