mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	Allow plugin loading when calling 'showmigrations' (#6076)
- Otherwise cannot see what migrations have been run for a plugin Co-authored-by: afkiwers <andre@currawong.aero>
This commit is contained in:
		| @@ -49,7 +49,6 @@ def canAppAccessDatabase(allow_test: bool = False, allow_plugins: bool = False, | ||||
|         'prerender', | ||||
|         'rebuild_models', | ||||
|         'rebuild_thumbnails', | ||||
|         'showmigrations', | ||||
|         'makemessages', | ||||
|         'compilemessages', | ||||
|         'backup', | ||||
| @@ -70,6 +69,7 @@ def canAppAccessDatabase(allow_test: bool = False, allow_plugins: bool = False, | ||||
|     if not allow_plugins: | ||||
|         excluded_commands.extend([ | ||||
|             'makemigrations', | ||||
|             'showmigrations', | ||||
|             'migrate', | ||||
|             'collectstatic', | ||||
|         ]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user