Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

class PatchesConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'specifyweb.patches'
name = 'specifyweb.backend.patches'
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion specifyweb/settings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def get_sa_db_url(db_name):
'specifyweb.backend.attachment_gw',
'specifyweb.frontend',
'specifyweb.backend.barvis',
'specifyweb.patches',
'specifyweb.backend.patches',
'specifyweb.backend.report_runner',
'specifyweb.backend.interactions',
'specifyweb.workbench',
Expand Down
2 changes: 1 addition & 1 deletion specifyweb/specify/models_by_table_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def import_model(model_name):
if model_name in model_names:
def get_model():
from importlib import import_module
if app_name in ['accounts', 'permissions', 'attachment_gw', 'barvis', 'raven_placeholder', 'notifications', 'express_search', 'hibernateboolsbackend', 'stats', 'interactions', 'report_runner', 'export', 'businessrules']:
if app_name in ['accounts', 'permissions', 'attachment_gw', 'barvis', 'raven_placeholder', 'notifications', 'express_search', 'hibernateboolsbackend', 'stats', 'interactions', 'report_runner', 'export', 'businessrules', 'patches']:
module = import_module(f"specifyweb.backend.{app_name}.models")
else:
module = import_module(f"specifyweb.{app_name}.models")
Expand Down