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 runserver then everything is perfect: I can view and edit my model. But I need to run my program as a single exe-file. For that purpose I use PyInstaller with default settings. The exe file is generated with no errors. And here is the problem: there is no my model at the Admin Panel except User and User Groups. My environment is Python 3.7, Django 2.2, Pyinstaller 3.4, Windows 7. Everything is under a virtual environment. Have anyone run into that problem? Is there any workaround to it? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/eff71f24-d35c-4c72-8a7b-476dc3ea8dc6%40googlegroups.com.
