Moved primitives package to db.

This commit is contained in:
s3lph 2018-07-22 15:30:59 +02:00
parent ddc3e17846
commit c20029fb36
10 changed files with 7 additions and 7 deletions

2
doc

@ -1 +1 @@
Subproject commit 2ce0e26b101192b92061c299ffc0e5524104f215
Subproject commit da08844f714919a287cd62a9fa90faf3a484d3c3

View file

@ -4,7 +4,7 @@ from typing import List, Optional, Any, Type
import crypt
from hmac import compare_digest
from matemat.primitives import User, Product
from matemat.db.primitives import User, Product
from matemat.exceptions import AuthenticationError, DatabaseConsistencyError
from matemat.db import DatabaseWrapper
from matemat.db.wrapper import Transaction

View file

@ -6,7 +6,7 @@ import magic
from matemat.webserver import pagelet, RequestArguments, PageletResponse, RedirectResponse, TemplateResponse
from matemat.db import MatematDatabase
from matemat.primitives import User
from matemat.db.primitives import User
from matemat.exceptions import DatabaseConsistencyError, HttpException

View file

@ -3,7 +3,7 @@ from typing import Any, Dict, Union
from matemat.exceptions import AuthenticationError, HttpException
from matemat.webserver import pagelet, RequestArguments, PageletResponse, RedirectResponse, TemplateResponse
from matemat.primitives import User
from matemat.db.primitives import User
from matemat.db import MatematDatabase

View file

@ -6,7 +6,7 @@ import magic
from matemat.webserver import pagelet, RequestArguments, PageletResponse, RedirectResponse, TemplateResponse
from matemat.db import MatematDatabase
from matemat.primitives import Product
from matemat.db.primitives import Product
from matemat.exceptions import DatabaseConsistencyError, HttpException
from matemat.util.currency_format import parse_chf

View file

@ -6,7 +6,7 @@ import magic
from matemat.webserver import pagelet, RequestArguments, PageletResponse, RedirectResponse, TemplateResponse
from matemat.db import MatematDatabase
from matemat.primitives import User
from matemat.db.primitives import User
from matemat.exceptions import DatabaseConsistencyError, HttpException
from matemat.util.currency_format import parse_chf

View file

@ -3,7 +3,7 @@ from typing import Any, Dict, Union
from matemat.exceptions import AuthenticationError, HttpException
from matemat.webserver import pagelet, RequestArguments, PageletResponse, RedirectResponse, TemplateResponse
from matemat.primitives import User
from matemat.db.primitives import User
from matemat.db import MatematDatabase