OpenEnergyPlatform / OpenEnergyPlatform/oeplatform

Creating example tables fails

Open
#2,260 1 comment 0 reactions 1 assignee View on GitHub

@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

  1. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.