We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f30cc1 commit cc911d4Copy full SHA for cc911d4
localized_fields/fields/autoslug_field.py
@@ -16,14 +16,14 @@
16
class LocalizedAutoSlugField(LocalizedField):
17
"""Automatically provides slugs for a localized field upon saving."""
18
19
- warnings.warn(
20
- "LocalizedAutoSlug is deprecated and will be removed in the next major version.",
21
- DeprecationWarning,
22
- )
23
-
24
def __init__(self, *args, **kwargs):
25
"""Initializes a new instance of :see:LocalizedAutoSlugField."""
26
+ warnings.warn(
+ "LocalizedAutoSlug is deprecated and will be removed in the next major version.",
+ DeprecationWarning,
+ )
+
27
self.populate_from = kwargs.pop("populate_from", None)
28
self.include_time = kwargs.pop("include_time", False)
29
0 commit comments