df_site 0.1.2__py3-none-any.whl → 0.1.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
df_site/admin.py CHANGED
@@ -93,7 +93,7 @@ else:
93
93
  class PreferencesUserAdmin(UserAdmin):
94
94
  """Admin class for the preferences user model."""
95
95
 
96
- inlines = [EmailAddressInline, AuthenticatorInline, SocialAccountInline, UserSessionInline]
96
+ inlines = []
97
97
  list_display = ("username", "email", "first_name", "last_name", "is_staff", "date_joined")
98
98
  list_filter = ("is_staff", "is_superuser", "is_active", "date_joined", "groups")
99
99
  readonly_fields = ["last_login", "date_joined"]
@@ -120,7 +120,7 @@ class PreferencesUserAdmin(UserAdmin):
120
120
 
121
121
  def get_inlines(self, request, obj):
122
122
  """Return inlines excluding those that correspond to apps not installed."""
123
- inlines = super().get_inlines(request, obj)
123
+ inlines = [EmailAddressInline, AuthenticatorInline, SocialAccountInline, UserSessionInline]
124
124
  if obj is None:
125
125
  return []
126
126
  inlines = [x for x in inlines if x is not None]
df_site/defaults.py CHANGED
@@ -176,9 +176,9 @@ PIPELINE = {
176
176
  "crossorigin": "anonymous",
177
177
  },
178
178
  },
179
- "CSS_COMPRESSOR": "pipeline.compressors.yuglify.YuglifyCompressor",
180
- "JS_COMPRESSOR": "pipeline.compressors.uglifyjs.UglifyJSCompressor",
181
- "COMPILERS": [],
179
+ "CSS_COMPRESSOR": SettingReference("PIPELINE_CSS_COMPRESSOR"),
180
+ "JS_COMPRESSOR": SettingReference("PIPELINE_JS_COMPRESSOR"),
181
+ "COMPILERS": SettingReference("PIPELINE_COMPILERS"),
182
182
  }
183
183
  SOCIALACCOUNT_EMAIL_AUTHENTICATION_AUTO_CONNECT = True
184
184
  SOCIALACCOUNT_LOGIN_ON_GET = True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: df_site
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: More batteries to Django
5
5
  Home-page: https://github.com/d9pouces/df_site
6
6
  License: CECILL-B
@@ -1,6 +1,6 @@
1
1
  df_site/__init__.py,sha256=19530RKoMrhQT8Unm5P5MhvNko5-VxDviUCnc99_-LE,48
2
2
  df_site/__main__.py,sha256=S5LgcXMb2UojfnLpSLcmtMrzdYbnXvSLZjE8sdrYuWg,1139
3
- df_site/admin.py,sha256=N0eLKE7GrhJnFDhrfo3tadu610AWaqaBtkHU6d6WD-A,4140
3
+ df_site/admin.py,sha256=4TQLBCltfSEswF-juXMQkkhpT6jz0l2PHDGccHvmmPU,4109
4
4
  df_site/apps.py,sha256=Tine1DCyYcPQiwEeFAVc7Zqln8TuCrxRtE3z0jOv6z8,1729
5
5
  df_site/components/__init__.py,sha256=9yK4-UT8B2dt2e4PUiGYJxqO2VsDLaiueEodKsIBxYw,47
6
6
  df_site/components/base.py,sha256=gIMFcwQTGaM2rJNSeV-fLKVEiA4IP4_qlJf8aR2bWp8,2871
@@ -10,7 +10,7 @@ df_site/components/list_filters.py,sha256=DZ9xmtZktAveYLBxW_H96dbDYJ4bLKZkteV8oH
10
10
  df_site/components/registry.py,sha256=vz0eDglRKv7iUiHKepou3-HU4D-nD7Fbiclqt5jZc74,2176
11
11
  df_site/constants.py,sha256=p4bcwM55SIQM-hSGgiEoLwZxFuFl2aILCJc-_kwbGLM,1847
12
12
  df_site/context_processors.py,sha256=2bgltZEzONA2MPtfV9pXuddjNoSb9c5o5J13tqnajC4,2425
13
- df_site/defaults.py,sha256=-QxlKkY2re4OSOqOyACKC9gD_qKZSfCf2BD1RkqBe0M,10118
13
+ df_site/defaults.py,sha256=BO4TQv_QeonDmxtwiVaXKUtPNdaL44HXiDehxz69B2E,10141
14
14
  df_site/dynamic_settings.py,sha256=h4LbkEsafDR9_WyHk6xH0TciqYYo5rj87sjYC_-sFuo,1537
15
15
  df_site/form_fields.py,sha256=ExEwKdBl1FL78jDHiGp0UGZFaVzoojZV8JirvDPlei8,5189
16
16
  df_site/management/__init__.py,sha256=hSw7cwoTyIwJGrh37pQspBcO_i9LZPT850YyAP6HWNU,37
@@ -303,8 +303,8 @@ df_site/users/notifications.py,sha256=jAUrHxreW-Nsam3AM8N3vPt45LOS2J2mMR_t3Dbv6I
303
303
  df_site/users/urls.py,sha256=f5A2oMTV3dQGfsTRZs6YRD5jVDIqPZPZALIB0sjOkM0,515
304
304
  df_site/users/views.py,sha256=uMMgXe4J-YChpYavTReos_MuNfLaz1fjmPq3oD36mLw,2770
305
305
  df_site/views.py,sha256=DYe0iyIL7xTrdZKiXjaFnubmtUXJnhKccx8QaMcN_0o,4525
306
- df_site-0.1.2.dist-info/LICENSE,sha256=H1HcYtCa2qQNIP1AnRy8KUQRjHqfoDN4MoJHKIt_w6g,22399
307
- df_site-0.1.2.dist-info/METADATA,sha256=2hfTAEU5XTRIMvWQQ351RGBign_vBsKjuCDhL5DZs6g,9834
308
- df_site-0.1.2.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
309
- df_site-0.1.2.dist-info/entry_points.txt,sha256=QBlDeF1v1FepN-bJk7FuhWtgm7Y7-dhBK6673t94_7k,59
310
- df_site-0.1.2.dist-info/RECORD,,
306
+ df_site-0.1.3.dist-info/LICENSE,sha256=H1HcYtCa2qQNIP1AnRy8KUQRjHqfoDN4MoJHKIt_w6g,22399
307
+ df_site-0.1.3.dist-info/METADATA,sha256=52OPI6MTJxnk-k55_AbQ4fuowFzzSNI7ADWETKogfjw,9834
308
+ df_site-0.1.3.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
309
+ df_site-0.1.3.dist-info/entry_points.txt,sha256=QBlDeF1v1FepN-bJk7FuhWtgm7Y7-dhBK6673t94_7k,59
310
+ df_site-0.1.3.dist-info/RECORD,,