OpenEnergyPlatform / OpenEnergyPlatform/oeplatform
Creating example tables fails
Open
@jh-RLI is already working on this.
Since Mar 9, 2026.
about creating tables
bug
testing
time: S (day) ⏳
- Dominant language
- Python
- Stars
- 65
- Forks
- 29
- Avg merge
- 15h 25m
- Merged PRs (30d)
- 32
Description
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: https://github.com/OpenEnergyPlatform/oeplatform/blob/04f9b52f9279e356b902c345fca0096b7ba0d306/dataedit/management/commands/create_example_tables.py#L84
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.