You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-22 22:07:12 +00:00
feat: added business models, implemented business signup and signin
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from django.core.exceptions import ValidationError
|
||||
|
||||
|
||||
class UniqueConstraintError(Exception):
|
||||
def __init__(self, validation_error: ValidationError) -> None:
|
||||
self.validation_error = validation_error
|
||||
|
||||
|
||||
__all__ = ["UniqueConstraintError"]
|
||||
@@ -414,8 +414,11 @@ INSTALLED_APPS = [
|
||||
"django_guid",
|
||||
"ninja",
|
||||
# Internal apps
|
||||
"apps.core",
|
||||
"apps.business",
|
||||
# API v1 apps
|
||||
"api.v1.ping",
|
||||
"api.v1.business",
|
||||
]
|
||||
|
||||
# GUID
|
||||
|
||||
Reference in New Issue
Block a user