Skip to content

Commit

Permalink
Actually add upgrade as console script (so it's reachable)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrillkuettel committed May 10, 2024
1 parent 774cb9b commit f8224e1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ fanstatic.libraries =
privatim:css = privatim.static:css_library

console_scripts =
initialize_db = privatim.scripts.initialize_db:main
initialize_db = privatim.cli.initialize_db:main
upgrade = privatim.cli.upgrade:upgrade

[options.extras_require]
dev =
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion src/privatim/scripts/__init__.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/privatim/views/people.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from sqlalchemy import nullslast
from atoz import AtoZ
from privatim.atoz import AtoZ
from privatim.models import User
from sqlalchemy.future import select

Expand Down

0 comments on commit f8224e1

Please sign in to comment.