mirror of
https://github.com/andwati/andwati.com.git
synced 2026-11-14 12:55:15 +00:00
completed setup of basic pages
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
+++
|
||||
title = "Archives of blog posts"
|
||||
sort_by = "date"
|
||||
template = "archive.html"
|
||||
page_template = "archive.html"
|
||||
+++
|
||||
@@ -4,3 +4,13 @@ date = 2023-08-01
|
||||
+++
|
||||
|
||||
This is my first blog post
|
||||
|
||||
```python
|
||||
from django.db import model
|
||||
|
||||
classs Question(model.Model):
|
||||
quesion_text = models.Charfield(max_length=200)
|
||||
|
||||
def __str__(self):
|
||||
return self.question_text
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user