Skip to content

Commit 24472fe

Browse files
committed
first
0 parents  commit 24472fe

File tree

91 files changed

+1393
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1393
-0
lines changed

basketlists/__init__.py

Whitespace-only changes.
160 Bytes
Binary file not shown.
201 Bytes
Binary file not shown.
449 Bytes
Binary file not shown.
198 Bytes
Binary file not shown.

basketlists/admin.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

basketlists/apps.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class BasketlistsConfig(AppConfig):
5+
default_auto_field = "django.db.models.BigAutoField"
6+
name = "basketlists"

basketlists/migrations/__init__.py

Whitespace-only changes.
Binary file not shown.

basketlists/models.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.db import models
2+
3+
# Create your models here.

basketlists/tests.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.

basketlists/views.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.shortcuts import render
2+
3+
# Create your views here.

common/__init__.py

Whitespace-only changes.
155 Bytes
Binary file not shown.
196 Bytes
Binary file not shown.
434 Bytes
Binary file not shown.
663 Bytes
Binary file not shown.

common/admin.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

common/apps.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class CommonConfig(AppConfig):
5+
default_auto_field = "django.db.models.BigAutoField"
6+
name = "common"

common/migrations/__init__.py

Whitespace-only changes.
Binary file not shown.

common/models.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from django.db import models
2+
3+
# Create your models here.
4+
class CommonModel(models.Model):
5+
'''Common Model Definition'''
6+
7+
created_at = models.DateTimeField(auto_now_add = True)
8+
updated_at = models.DateTimeField(auto_now = True)
9+
10+
class Meta:
11+
abstract=True

common/tests.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.

common/views.py

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.shortcuts import render
2+
3+
# Create your views here.

db.sqlite3

140 KB
Binary file not shown.

manage.py

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env python
2+
"""Django's command-line utility for administrative tasks."""
3+
import os
4+
import sys
5+
6+
7+
def main():
8+
"""Run administrative tasks."""
9+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wabawachi.settings")
10+
try:
11+
from django.core.management import execute_from_command_line
12+
except ImportError as exc:
13+
raise ImportError(
14+
"Couldn't import Django. Are you sure it's installed and "
15+
"available on your PYTHONPATH environment variable? Did you "
16+
"forget to activate a virtual environment?"
17+
) from exc
18+
execute_from_command_line(sys.argv)
19+
20+
21+
if __name__ == "__main__":
22+
main()

0 commit comments

Comments
 (0)