diff --git a/.gitignore b/.gitignore index 3638ff1..4d42670 100644 --- a/.gitignore +++ b/.gitignore @@ -61,6 +61,7 @@ cover/ local_settings.py db.sqlite3 db.sqlite3-journal +migrations/ # Flask stuff: instance/ @@ -138,4 +139,4 @@ dmypy.json # Cython debug symbols cython_debug/ -rakka.conf \ No newline at end of file +rakka.conf diff --git a/comment/__init__.py b/comment/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/comment/admin.py b/comment/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/comment/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/comment/apps.py b/comment/apps.py new file mode 100644 index 0000000..c364f39 --- /dev/null +++ b/comment/apps.py @@ -0,0 +1,6 @@ +from django.apps import AppConfig + + +class CommentConfig(AppConfig): + default_auto_field = 'django.db.models.BigAutoField' + name = 'comment' diff --git a/comment/migrations/__init__.py b/comment/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/comment/models.py b/comment/models.py new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/comment/models.py @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/comment/tests.py b/comment/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/comment/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/comment/urls.py b/comment/urls.py new file mode 100644 index 0000000..9ea9165 --- /dev/null +++ b/comment/urls.py @@ -0,0 +1,7 @@ +from django.urls import include, path +from . import views + +urlpatterns=[ + path('',views.look,name='look'), + path('new',views.submit,name='new'), +] \ No newline at end of file diff --git a/comment/views.py b/comment/views.py new file mode 100644 index 0000000..6ab0384 --- /dev/null +++ b/comment/views.py @@ -0,0 +1,11 @@ +from django.shortcuts import render +from rakka.utils import rerender +# Create your views here. + +@rerender +def look(): + pass + +@rerender +def submit(): + pass \ No newline at end of file