Skip to content

Commit

Permalink
πŸ’š Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Jan 14, 2025
1 parent 0e4a410 commit 6bbcfd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lamindb_setup/core/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ def setup_django(

module_names = ["core"] + list(isettings.modules)
raise_import_error = True if init else False
installed_apps = [
installed_apps = ["django.contrib.contenttypes"]
installed_apps += [
package_name
for name in module_names
if (
Expand All @@ -64,7 +65,6 @@ def setup_django(
)
is not None
]
installed_apps += ["django.contrib.contenttypes.models.ContentType"]
if view_schema:
installed_apps = installed_apps[::-1] # to fix how apps appear
installed_apps += ["schema_graph", "django.contrib.staticfiles"]
Expand Down

0 comments on commit 6bbcfd9

Please sign in to comment.