mirror of
https://github.com/django/django.git
synced 2025-10-19 23:07:33 +00:00
Refs #23919 -- Stopped inheriting from object to define new style classes.
This commit is contained in:
parent
a556396339
commit
cecc079168
293 changed files with 512 additions and 514 deletions
|
@ -47,7 +47,7 @@ class StaticFilesStorage(FileSystemStorage):
|
|||
return super(StaticFilesStorage, self).path(name)
|
||||
|
||||
|
||||
class HashedFilesMixin(object):
|
||||
class HashedFilesMixin:
|
||||
default_template = """url("%s")"""
|
||||
max_post_process_passes = 5
|
||||
patterns = (
|
||||
|
@ -434,7 +434,7 @@ class ManifestFilesMixin(HashedFilesMixin):
|
|||
return urlunsplit(unparsed_name)
|
||||
|
||||
|
||||
class _MappingCache(object):
|
||||
class _MappingCache:
|
||||
"""
|
||||
A small dict-like wrapper for a given cache backend instance.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue