Re: [PyInstaller] Having been run as an .exe, the django admin panel hides models except users and user groups

2020-03-04 Thread 'Chris Barker' via PyInstaller
I'm not very familiar with Django, but I recently did something similar with PYramid. The trick *may* be that Django is doing a bunch of its configuration/ discovery dynamically, at run time. That was the case with Pyramid -- essentially is was scanning the code at run time looking for views to

[PyInstaller] Having been run as an .exe, the django admin panel hides models except users and user groups

2020-03-04 Thread Shi James
I created the most simple Python/Django project following to the standard procedure: virtual environment => startproject, startapp, simple model with one Char field. Also I add my model to the admin.py file. Then I ran makemigrations, migrate, createsuperuser. If I run like python manage.py

[PyInstaller] Having been run as an .exe, the django admin panel hides models except users and user groups

2020-03-04 Thread Shi James
I created the most simple Python/Django project following to the standard procedure: virtual environment => startproject, startapp, simple model with one Char field. Also I add my model to the admin.py file. Then I ran makemigrations, migrate, createsuperuser. If I run like python manage.py