1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

In dev mode, display the full admin URL at server start

This commit is contained in:
ksamuel 2020-08-14 16:45:06 +02:00
parent 2d9dab6591
commit b9831c7f60

View File

@ -56,7 +56,9 @@ def runserver(
) )
if updated_settings.DEBUG: if updated_settings.DEBUG:
print(f"Admin URL: {settings.ADMIN_URL}") print(
f"Admin URL for dev: http://{updated_settings.HOST}:{updated_settings.PORT}{settings.ADMIN_URL}"
)
print() print()
run( run(
app, app,