add deployment configs and tools

This commit is contained in:
moscap
2021-06-02 14:11:10 +03:00
parent bd1d2c65b9
commit 75e1d5c13e
10 changed files with 54 additions and 7 deletions

0
frontend/__init__.py Normal file
View File

8
frontend/__main__.py Normal file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env python3
"""django-todo application launcher"""
from .todo_tk import Application
if __name__ == "__main__":
app = Application()
app.main(app.login())

View File

@@ -1,5 +1,5 @@
import random
from user import User
from .user import User
def print_lists(lists):

View File

@@ -1,6 +1,6 @@
import tkinter as tk
from user import User
import message
from .user import User
from . import message
class LoginFrame(tk.Frame):

View File

@@ -2,9 +2,9 @@
import sys
import tkinter as tk
from login import LoginFrame
from workspace import WorkSpaceFrame
from user import User
from .login import LoginFrame
from .workspace import WorkSpaceFrame
from .user import User
if "win" in sys.platform.lower():
DEFAULT_URL = "http://localhost:8000"

View File

@@ -7,7 +7,7 @@ from pathlib import Path
import json
from api import UserApi
from .api import UserApi
LIST_UPDATEBLE = ["title"]
TODO_ITEM_UPDATEBLE = ["text", "finished"]