heh broke my site by forgetting to git add again

This commit is contained in:
Zergling_man 2022-02-10 19:16:28 +11:00
parent 9b0d636299
commit 8562ea5e80
9 changed files with 35 additions and 1 deletions

3
.gitignore vendored
View File

@ -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
rakka.conf

0
comment/__init__.py Normal file
View File

3
comment/admin.py Normal file
View File

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

6
comment/apps.py Normal file
View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class CommentConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'comment'

View File

3
comment/models.py Normal file
View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
comment/tests.py Normal file
View File

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

7
comment/urls.py Normal file
View 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
View 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