mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Removed unnecessary trailing commas and spaces in various code.
This commit is contained in:
parent
058d112ed2
commit
83a36ac49a
42 changed files with 87 additions and 87 deletions
|
@ -284,7 +284,7 @@ man_pages = [(
|
|||
'Utility script for the Django Web framework',
|
||||
['Django Software Foundation'],
|
||||
1
|
||||
), ]
|
||||
)]
|
||||
|
||||
|
||||
# -- Options for Texinfo output ------------------------------------------------
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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``).
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue