heh broke my site by forgetting to git add again
This commit is contained in:
parent
9b0d636299
commit
8562ea5e80
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -61,6 +61,7 @@ cover/
|
|||
local_settings.py
|
||||
db.sqlite3
|
||||
db.sqlite3-journal
|
||||
migrations/
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
|
|
0
comment/__init__.py
Normal file
0
comment/__init__.py
Normal file
3
comment/admin.py
Normal file
3
comment/admin.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.contrib import admin
|
||||
|
||||
# Register your models here.
|
6
comment/apps.py
Normal file
6
comment/apps.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django.apps import AppConfig
|
||||
|
||||
|
||||
class CommentConfig(AppConfig):
|
||||
default_auto_field = 'django.db.models.BigAutoField'
|
||||
name = 'comment'
|
0
comment/migrations/__init__.py
Normal file
0
comment/migrations/__init__.py
Normal file
3
comment/models.py
Normal file
3
comment/models.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.db import models
|
||||
|
||||
# Create your models here.
|
3
comment/tests.py
Normal file
3
comment/tests.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
7
comment/urls.py
Normal file
7
comment/urls.py
Normal file
|
@ -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'),
|
||||
]
|
11
comment/views.py
Normal file
11
comment/views.py
Normal file
|
@ -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
|
Loading…
Reference in New Issue
Block a user