Removed unnecessary trailing commas and spaces in various code.

This commit is contained in:
Mariusz Felisiak 2017-12-28 21:07:29 +01:00 committed by GitHub
parent 058d112ed2
commit 83a36ac49a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 87 additions and 87 deletions

View file

@ -284,7 +284,7 @@ man_pages = [(
'Utility script for the Django Web framework',
['Django Software Foundation'],
1
), ]
)]
# -- Options for Texinfo output ------------------------------------------------

View file

@ -193,7 +193,7 @@ registering a custom ``ModelAdmin`` for ``FlatPage``::
fieldsets = (
(None, {'fields': ('url', 'title', 'content', 'sites')}),
(_('Advanced options'), {
'classes': ('collapse', ),
'classes': ('collapse',),
'fields': (
'enable_comments',
'registration_required',

View file

@ -1029,7 +1029,7 @@ attributes. Thus, you can subclass the appropriate feed generator class
.. _georss: http://georss.org/
.. _itunes podcast format: https://www.apple.com/itunes/podcasts/specs.html
``SyndicationFeed.root_attributes(self, )``
``SyndicationFeed.root_attributes(self)``
Return a ``dict`` of attributes to add to the root feed element
(``feed``/``channel``).

View file

@ -348,7 +348,7 @@ add it to a ``UserAdmin`` class which is registered with the
# Define a new User admin
class UserAdmin(BaseUserAdmin):
inlines = (EmployeeInline, )
inlines = (EmployeeInline,)
# Re-register UserAdmin
admin.site.unregister(User)