integrace api, stripe, vytvoření commecre app
This commit is contained in:
0
backend/advertisement/__init__.py
Normal file
0
backend/advertisement/__init__.py
Normal file
3
backend/advertisement/admin.py
Normal file
3
backend/advertisement/admin.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
||||
6
backend/advertisement/apps.py
Normal file
6
backend/advertisement/apps.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class AdvertisementConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'advertisement'
|
||||
0
backend/advertisement/migrations/__init__.py
Normal file
0
backend/advertisement/migrations/__init__.py
Normal file
3
backend/advertisement/models.py
Normal file
3
backend/advertisement/models.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.db import models
|
||||
|
||||
# Create your models here.
|
||||
2
backend/advertisement/tasks.py
Normal file
2
backend/advertisement/tasks.py
Normal file
@@ -0,0 +1,2 @@
|
||||
#udělat zasílaní reklamních emailů uživatelům.
|
||||
#newletter --> když se vytvoří nový record s reklamou email se uloží pomocí zaškrtnutí tlačítka v záznamu
|
||||
3
backend/advertisement/tests.py
Normal file
3
backend/advertisement/tests.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
||||
3
backend/advertisement/views.py
Normal file
3
backend/advertisement/views.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from django.shortcuts import render
|
||||
|
||||
# Create your views here.
|
||||
Reference in New Issue
Block a user