Rename markdown extras files and update Docker commands for API migrations

api
Jukoga 2025-12-16 17:27:05 +01:00
parent 50aed1a48a
commit b0afa5c7be
7 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,7 @@
from django.db import models
from django.contrib.auth.models import User
from django.db.models.fields import CharField, IntegerField
# Create your models here.
class Province(models.Model):

View File

@ -10,6 +10,7 @@ services:
network_mode: "host"
command: >
sh -c "python manage.py makemigrations blog --noinput &&
python manage.py makemigrations api --noinput &&
python manage.py migrate --noinput &&
python manage.py collectstatic --noinput &&
gunicorn BH.wsgi:application --bind 0.0.0.0:3030 --workers ${GUNICORN_WORKERS:-3}"

Binary file not shown.

View File

@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block content %}
{% load markdown_extras %}
{% load blog_markdown_extras %}
<div class="container mt-5">
<div class="card mb-3">

View File

@ -1,7 +1,7 @@
{% extends 'base.html' %}
{% block content %}
{% load markdown_extras %}
{% load blog_markdown_extras %}
<!-- Main Content -->
<div class="container mt-5">
<div class="row">