Skip to content

Commit

Permalink
adding notifications app for email sending
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Dobbelaere committed Nov 28, 2023
1 parent 9bea722 commit a7f9283
Show file tree
Hide file tree
Showing 34 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions OneSila/OneSila/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
'currencies',
'eancodes',
'media',
'notifications',
'inventory',
'orders',
'products',
Expand Down
Empty file.
3 changes: 3 additions & 0 deletions OneSila/notifications/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
9 changes: 9 additions & 0 deletions OneSila/notifications/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
from django.apps import AppConfig


class NotificationsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'notifications'

def ready(self):
from . import receivers
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
3 changes: 3 additions & 0 deletions OneSila/notifications/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file added OneSila/notifications/tasks.py
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
3 changes: 3 additions & 0 deletions OneSila/notifications/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.shortcuts import render

# Create your views here.

0 comments on commit a7f9283

Please sign in to comment.