Description of the issue
Creating example tables fails due to legacy attribute "is_staff" in login_myuser table.
Afterwards creation of wind example table fails as well (even with quick user fix)
Steps to Reproduce
- Run
python manage.py create_example_tables
Ideas of solution
Remove attribute "is_staff" from user generation here:
|
name="test", defaults={"email": "test@mail.com", "is_staff": True} |
Description of the issue
Creating example tables fails due to legacy attribute "is_staff" in login_myuser table.
Afterwards creation of wind example table fails as well (even with quick user fix)
Steps to Reproduce
python manage.py create_example_tablesIdeas of solution
Remove attribute "is_staff" from user generation here:
oeplatform/dataedit/management/commands/create_example_tables.py
Line 84 in 04f9b52