diff options
| author | Bobby <[email protected]> | 2022-11-18 15:12:23 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-11-18 15:12:23 -0500 |
| commit | dae9aac1bcaeaab86649051cd0ab56a9fecbf63c (patch) | |
| tree | 18f957cd3f5f243ff99e4fda8e1fa9de0dca572b | |
| parent | 09537c60fdcd90431810d5debb5baf2886363052 (diff) | |
| download | thatcomputerscientist-dae9aac1bcaeaab86649051cd0ab56a9fecbf63c.tar.xz thatcomputerscientist-dae9aac1bcaeaab86649051cd0ab56a9fecbf63c.zip | |
rename module
| -rw-r--r-- | ignis/__init__.py (renamed from iss/__init__.py) | 0 | ||||
| -rw-r--r-- | ignis/admin.py (renamed from iss/admin.py) | 0 | ||||
| -rw-r--r-- | ignis/apps.py (renamed from iss/apps.py) | 4 | ||||
| -rw-r--r-- | ignis/migrations/__init__.py (renamed from iss/migrations/__init__.py) | 0 | ||||
| -rw-r--r-- | ignis/models.py (renamed from iss/models.py) | 0 | ||||
| -rw-r--r-- | ignis/tests.py (renamed from iss/tests.py) | 0 | ||||
| -rw-r--r-- | ignis/urls.py (renamed from iss/urls.py) | 2 | ||||
| -rw-r--r-- | ignis/views.py (renamed from iss/views.py) | 0 | ||||
| -rw-r--r-- | templates/blog/post.html | 2 | ||||
| -rw-r--r-- | templates/blog_admin/edit_post.html | 6 | ||||
| -rw-r--r-- | templates/blog_admin/new_post.html | 4 | ||||
| -rw-r--r-- | thatcomputerscientist/settings.py | 2 | ||||
| -rw-r--r-- | thatcomputerscientist/urls.py | 2 |
13 files changed, 11 insertions, 11 deletions
diff --git a/iss/__init__.py b/ignis/__init__.py index e69de29b..e69de29b 100644 --- a/iss/__init__.py +++ b/ignis/__init__.py diff --git a/iss/admin.py b/ignis/admin.py index 8c38f3f3..8c38f3f3 100644 --- a/iss/admin.py +++ b/ignis/admin.py diff --git a/iss/apps.py b/ignis/apps.py index 343a2e09..8c2eea77 100644 --- a/iss/apps.py +++ b/ignis/apps.py @@ -1,6 +1,6 @@ from django.apps import AppConfig -class IssConfig(AppConfig): +class IgnisConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' - name = 'iss' + name = 'ignis' diff --git a/iss/migrations/__init__.py b/ignis/migrations/__init__.py index e69de29b..e69de29b 100644 --- a/iss/migrations/__init__.py +++ b/ignis/migrations/__init__.py diff --git a/iss/models.py b/ignis/models.py index 71a83623..71a83623 100644 --- a/iss/models.py +++ b/ignis/models.py diff --git a/iss/tests.py b/ignis/tests.py index 7ce503c2..7ce503c2 100644 --- a/iss/tests.py +++ b/ignis/tests.py diff --git a/iss/urls.py b/ignis/urls.py index aa083ee5..4e931c4d 100644 --- a/iss/urls.py +++ b/ignis/urls.py @@ -1,7 +1,7 @@ from django.urls import path from . import views -app_name = 'iss' +app_name = 'ignis' urlpatterns = [ path('tex/', views.tex, name='tex'), path('post_image/<int:post_id>/', views.post_image, name='post_image'), diff --git a/iss/views.py b/ignis/views.py index ffbce848..ffbce848 100644 --- a/iss/views.py +++ b/ignis/views.py diff --git a/templates/blog/post.html b/templates/blog/post.html index f2baf977..96a0f948 100644 --- a/templates/blog/post.html +++ b/templates/blog/post.html @@ -8,7 +8,7 @@ <article> <div class="article-cover"> - <img src="{% url 'iss:post_image' post.id %}" alt="Cover Image" style="width: 720px; margin: 0 auto; display: block;"> + <img src="{% url 'ignis:post_image' post.id %}" alt="Cover Image" style="width: 720px; margin: 0 auto; display: block;"> </div> <h1 style="margin-bottom: 12px; font-size: 2rem;">{{ post.title }}</h1> <p style="line-height: 1.6em;"> diff --git a/templates/blog_admin/edit_post.html b/templates/blog_admin/edit_post.html index cd1b0d0e..b80ef118 100644 --- a/templates/blog_admin/edit_post.html +++ b/templates/blog_admin/edit_post.html @@ -13,7 +13,7 @@ <section> {% include 'blog_admin/partials/posts_topbar.html' %} <div class="article-cover"> - <img src="{% url 'iss:post_image' post.id %}" alt="Cover Image" style="width: 720px; margin: 0 auto; display: block;"> + <img src="{% url 'ignis:post_image' post.id %}" alt="Cover Image" style="width: 720px; margin: 0 auto; display: block;"> </div> <br> <form action="{% url 'blog-admin:edit-post' blog_slug %}" method="post" enctype="multipart/form-data"> @@ -158,7 +158,7 @@ static gettex(latex) { // make a GET request to /tex, returns a png response. render this to image tag - const url = `/iss/tex/?expr="${latex}"`; + const url = `/ignis/tex/?expr="${latex}"`; const img = `<img src='${url}' style="display: inline-block; margin: 0 auto; height: 16px; width: auto;" />`; return img; @@ -182,7 +182,7 @@ static gettex(latex) { // make a POST request to /tex, returns a png response. render this to image tag - const url = `/iss/tex/?expr="${latex}"`; + const url = `/ignis/tex/?expr="${latex}"`; const img = `<img src='${url}' style="display: block; margin-left: auto; margin-right: auto; height: 24px; width: auto;" />`; return img; } diff --git a/templates/blog_admin/new_post.html b/templates/blog_admin/new_post.html index 7570d841..9f39e445 100644 --- a/templates/blog_admin/new_post.html +++ b/templates/blog_admin/new_post.html @@ -154,7 +154,7 @@ static gettex(latex) { // make a GET request to /tex, returns a png response. render this to image tag - const url = `/iss/tex/?expr="${latex}"`; + const url = `/ignis/tex/?expr="${latex}"`; const img = `<img src='${url}' style="display: inline-block; margin: 0 auto; height: 16px; width: auto;" />`; return img; @@ -178,7 +178,7 @@ static gettex(latex) { // make a POST request to /tex, returns a png response. render this to image tag - const url = `/iss/tex/?expr="${latex}"`; + const url = `/ignis/tex/?expr="${latex}"`; const img = `<img src='${url}' style="display: block; margin-left: auto; margin-right: auto; height: 24px; width: auto;" />`; return img; } diff --git a/thatcomputerscientist/settings.py b/thatcomputerscientist/settings.py index 3e7f9119..aac4a3a0 100644 --- a/thatcomputerscientist/settings.py +++ b/thatcomputerscientist/settings.py @@ -51,7 +51,7 @@ INSTALLED_APPS = [ 'blog_admin', 'dev_status', 'announcements', - 'iss', + 'ignis', ] MIDDLEWARE = [ diff --git a/thatcomputerscientist/urls.py b/thatcomputerscientist/urls.py index abcc5681..7d268bb0 100644 --- a/thatcomputerscientist/urls.py +++ b/thatcomputerscientist/urls.py @@ -24,7 +24,7 @@ urlpatterns = [ path('users/', include('users.urls', namespace='users')), path('blog-admin/', include('blog_admin.urls', namespace='blog-admin')), path('source/', include(('dev_status.urls', 'dev_status'), namespace='dev_status')), - path('iss/', include(('iss.urls', 'iss'), namespace='iss')), + path('ignis/', include(('ignis.urls', 'ignis'), namespace='ignis')), ] urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) |
