Moves the controller modules into their own subpackage. There's going to be a lot of stuff in there.

This commit is contained in:
Christopher Neugebauer 2016-01-22 16:21:23 +11:00
parent d9e433659d
commit c2400c4695
11 changed files with 9 additions and 9 deletions

View file

View file

@ -9,7 +9,7 @@ from django.utils import timezone
from registrasion import models as rego from registrasion import models as rego
from conditions import ConditionController from conditions import ConditionController
from controllers import ProductController from product import ProductController
class CartController(object): class CartController(object):
@ -206,5 +206,5 @@ class CartController(object):
quantity = ours - allowed quantity = ours - allowed
else: else:
quantity = 0 quantity = 0
discount_item.save() discount_item.save()

View file

@ -8,7 +8,7 @@ from django.test import TestCase
from django.utils import timezone from django.utils import timezone
from registrasion import models as rego from registrasion import models as rego
from registrasion.cart import CartController from registrasion.controllers.cart import CartController
from patch_datetime import SetTimeMixin from patch_datetime import SetTimeMixin

View file

@ -8,7 +8,7 @@ from django.test import TestCase
from django.utils import timezone from django.utils import timezone
from registrasion import models as rego from registrasion import models as rego
from registrasion.cart import CartController from registrasion.controllers.cart import CartController
from test_cart import RegistrationCartTestCase from test_cart import RegistrationCartTestCase

View file

@ -8,7 +8,7 @@ from django.test import TestCase
from django.utils import timezone from django.utils import timezone
from registrasion import models as rego from registrasion import models as rego
from registrasion.cart import CartController from registrasion.controllers.cart import CartController
from test_cart import RegistrationCartTestCase from test_cart import RegistrationCartTestCase

View file

@ -8,7 +8,7 @@ from django.test import TestCase
from django.utils import timezone from django.utils import timezone
from registrasion import models as rego from registrasion import models as rego
from registrasion.cart import CartController from registrasion.controllers.cart import CartController
from test_cart import RegistrationCartTestCase from test_cart import RegistrationCartTestCase

View file

@ -8,8 +8,8 @@ from django.test import TestCase
from django.utils import timezone from django.utils import timezone
from registrasion import models as rego from registrasion import models as rego
from registrasion.cart import CartController from registrasion.controllers.cart import CartController
from registrasion.invoice import InvoiceController from registrasion.controllers.invoice import InvoiceController
from test_cart import RegistrationCartTestCase from test_cart import RegistrationCartTestCase

View file

@ -8,7 +8,7 @@ from django.test import TestCase
from django.utils import timezone from django.utils import timezone
from registrasion import models as rego from registrasion import models as rego
from registrasion.cart import CartController from registrasion.controllers.cart import CartController
from test_cart import RegistrationCartTestCase from test_cart import RegistrationCartTestCase