diff --git a/aktuality/__init__.py b/aktuality/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/aktuality/admin.py b/aktuality/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/aktuality/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/aktuality/apps.py b/aktuality/apps.py new file mode 100644 index 0000000..6933f2d --- /dev/null +++ b/aktuality/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class AktualityConfig(AppConfig): + name = 'aktuality' diff --git a/aktuality/migrations/0001_initial.py b/aktuality/migrations/0001_initial.py new file mode 100644 index 0000000..2e84cac --- /dev/null +++ b/aktuality/migrations/0001_initial.py @@ -0,0 +1,29 @@ +# Generated by Django 3.1.3 on 2020-11-27 10:54 + +from django.db import migrations, models +import django.db.models.deletion +import wagtail.core.fields + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ('wagtailcore', '0059_apply_collection_ordering'), + ] + + operations = [ + migrations.CreateModel( + name='Aktualita', + fields=[ + ('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), + ('date', models.DateField(verbose_name='Post date')), + ('body', wagtail.core.fields.RichTextField(blank=True)), + ], + options={ + 'abstract': False, + }, + bases=('wagtailcore.page',), + ), + ] diff --git a/aktuality/migrations/0002_aktualityindexpage.py b/aktuality/migrations/0002_aktualityindexpage.py new file mode 100644 index 0000000..0854d8c --- /dev/null +++ b/aktuality/migrations/0002_aktualityindexpage.py @@ -0,0 +1,25 @@ +# Generated by Django 3.1.3 on 2020-11-27 10:58 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('wagtailcore', '0059_apply_collection_ordering'), + ('aktuality', '0001_initial'), + ] + + operations = [ + migrations.CreateModel( + name='AktualityIndexPage', + fields=[ + ('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), + ], + options={ + 'abstract': False, + }, + bases=('wagtailcore.page',), + ), + ] diff --git a/aktuality/migrations/0003_aktualita_image.py b/aktuality/migrations/0003_aktualita_image.py new file mode 100644 index 0000000..c740353 --- /dev/null +++ b/aktuality/migrations/0003_aktualita_image.py @@ -0,0 +1,20 @@ +# Generated by Django 3.1.3 on 2020-12-04 10:26 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('wagtailimages', '0022_uploadedimage'), + ('aktuality', '0002_aktualityindexpage'), + ] + + operations = [ + migrations.AddField( + model_name='aktualita', + name='image', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='+', to='wagtailimages.image'), + ), + ] diff --git a/aktuality/migrations/__init__.py b/aktuality/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/aktuality/models.py b/aktuality/models.py new file mode 100644 index 0000000..1ec5393 --- /dev/null +++ b/aktuality/models.py @@ -0,0 +1,32 @@ +from django.db import models + +from modelcluster.fields import ParentalKey + +from wagtail.core.models import Page, Orderable +from wagtail.core.fields import RichTextField +from wagtail.admin.edit_handlers import FieldPanel, InlinePanel +from wagtail.images.edit_handlers import ImageChooserPanel +from wagtail.search import index + + +class AktualityIndexPage(Page): + subpage_types = ["aktuality.Aktualita"] + pass + + +class Aktualita(Page): + date = models.DateField("Post date") + body = RichTextField(blank=True) + image = models.ForeignKey( + 'wagtailimages.Image', null=True, on_delete=models.CASCADE, related_name='+' + ) + + search_fields = Page.search_fields + [ + index.SearchField('body'), + ] + + content_panels = Page.content_panels + [ + FieldPanel('date'), + FieldPanel('body', classname="full"), + ImageChooserPanel('image'), + ] diff --git a/aktuality/templates/aktuality/home_aktualne.html b/aktuality/templates/aktuality/home_aktualne.html new file mode 100644 index 0000000..30f438a --- /dev/null +++ b/aktuality/templates/aktuality/home_aktualne.html @@ -0,0 +1,38 @@ +{% load wagtailcore_tags static wagtailimages_tags %} + +{% for item in items %} +
+
+

{{ item.title }}

+
+
+
+
+
+
+ +
+ {{ item.date }} +
+
+
+ +
+ {{ item.body|richtext }} +
+
+
+
+ {% if item.specific.image %} +
+ +
+ {% image item.specific.image class="img-fluid" fill-400x200 %} +
+
+ {% endif %} + +
+
+
+{% endfor %} \ No newline at end of file diff --git a/aktuality/templatetags/__init__.py b/aktuality/templatetags/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/aktuality/templatetags/aktuality_tags.py b/aktuality/templatetags/aktuality_tags.py new file mode 100644 index 0000000..bc23767 --- /dev/null +++ b/aktuality/templatetags/aktuality_tags.py @@ -0,0 +1,10 @@ +from django import template +from aktuality.models import Aktualita + +register = template.Library() + +@register.inclusion_tag("aktuality/home_aktualne.html") +def home_aktualne(): + return { + "items": Aktualita.objects.all().order_by("-date"), + } \ No newline at end of file diff --git a/aktuality/tests.py b/aktuality/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/aktuality/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/aktuality/views.py b/aktuality/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/aktuality/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/diskuze/migrations/0002_auto_20201204_1109.py b/diskuze/migrations/0002_auto_20201204_1109.py new file mode 100644 index 0000000..870f521 --- /dev/null +++ b/diskuze/migrations/0002_auto_20201204_1109.py @@ -0,0 +1,23 @@ +# Generated by Django 3.1.3 on 2020-12-04 10:09 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('wagtailimages', '0022_uploadedimage'), + ('diskuze', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='blogpage', + name='image', + field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='+', to='wagtailimages.image'), + ), + migrations.DeleteModel( + name='BlogPageGalleryImage', + ), + ] diff --git a/diskuze/models.py b/diskuze/models.py index 547168f..b025d84 100644 --- a/diskuze/models.py +++ b/diskuze/models.py @@ -15,19 +15,16 @@ class BlogIndexPage(Page): content_panels = Page.content_panels + [ FieldPanel('intro', classname="full") ] - + class BlogPage(Page): + subpage_types = ["diskuze.BlogPage"] date = models.DateField("Post date") intro = models.CharField(max_length=250) body = RichTextField(blank=True) - - def main_image(self): - gallery_item = self.gallery_images.first() - if gallery_item: - return gallery_item.image - else: - return None + image = models.ForeignKey( + 'wagtailimages.Image', null=True, on_delete=models.CASCADE, related_name='+' + ) search_fields = Page.search_fields + [ index.SearchField('intro'), @@ -36,20 +33,12 @@ class BlogPage(Page): content_panels = Page.content_panels + [ FieldPanel('date'), - FieldPanel('intro'), + FieldPanel('intro'), FieldPanel('body', classname="full"), - InlinePanel('gallery_images', label="Obrázky"), + ImageChooserPanel('image'), ] -class BlogPageGalleryImage(Orderable): - page = ParentalKey(BlogPage, on_delete=models.CASCADE, related_name='gallery_images') - image = models.ForeignKey( - 'wagtailimages.Image', on_delete=models.CASCADE, related_name='+' - ) - caption = models.CharField(blank=True, max_length=250) - panels = [ - ImageChooserPanel('image'), - FieldPanel('caption'), - ] \ No newline at end of file + + diff --git a/diskuze/templates/diskuze/blog_page.html b/diskuze/templates/diskuze/blog_page.html index bd8d4bc..fd78771 100644 --- a/diskuze/templates/diskuze/blog_page.html +++ b/diskuze/templates/diskuze/blog_page.html @@ -1,5 +1,5 @@ {% extends "base.html" %} - {% load static %} + {% load static wagtailcore_tags wagtailimages_tags %} {% block body_class %}template-homepage{% endblock %} {% block extra_css %} {% comment %} Delete the line below if you're just getting started and want to remove the welcome screen! {% endcomment %} @@ -9,12 +9,13 @@ {% comment %} Delete the line below if you're just getting started and want to remove the welcome screen! {% endcomment %}
-

Diskuze

+

{{ page.title }}

+ {% for item in page.get_children %}
-

Jméno

+

{{ item.title }}

@@ -23,13 +24,13 @@
- Stouto klinikou jsem velmi spokojen. Milé prostředí pěkná atmosféra i pro Rexe. + {{ item.specific.body|richtext }}
- 11.5.2020 - 16.5.2020 + {{ item.specific.date }}
@@ -37,149 +38,15 @@
- + {% image item.specific.image class="img-fluid" fill-400x200 %}
+ {% endfor %} -
-
-
-

Jméno

-
-
-
-
-
-
- -
- Stouto klinikou jsem velmi spokojen. Milé prostředí pěkná atmosféra i pro Rexe. -
-
-
- -
- 11.5.2020 - 16.5.2020 -
-
-
-
-
- -
- -
-
-
-
-
-
- -
-
-
-

Jméno

-
-
-
-
-
-
- -
- Stouto klinikou jsem velmi spokojen. Milé prostředí pěkná atmosféra i pro Rexe. -
-
-
- -
- 11.5.2020 - 16.5.2020 -
-
-
-
-
- -
- -
-
-
-
-
-
- -
-
-
-

Jméno

-
-
-
-
-
-
- -
- Stouto klinikou jsem velmi spokojen. Milé prostředí pěkná atmosféra i pro Rexe. -
-
-
- -
- 11.5.2020 - 16.5.2020 -
-
-
-
-
- -
- -
-
-
-
-
-
- -
-
-
-

Jméno

-
-
-
-
-
-
- -
- Stouto klinikou jsem velmi spokojen. Milé prostředí pěkná atmosféra i pro Rexe. -
-
-
- -
- 11.5.2020 - 16.5.2020 -
-
-
-
-
- -
- -
-
-
-
-
-
{% endblock content %} \ No newline at end of file diff --git a/home/static/css/style.css b/home/static/css/style.css index d3fc6f9..d87de14 100644 --- a/home/static/css/style.css +++ b/home/static/css/style.css @@ -86,6 +86,9 @@ h3 { line-height: 8px; margin-bottom: 0px; } +.grid.clasik .grid-body p { + display: inline-block; +} .grid.clasik { box-shadow: 0px 0px 30px -5px #dd8790; border-radius: 5px; @@ -115,8 +118,7 @@ h3 { text-align: center; } .grid .grid-body .img img { - width: 40%; - height: auto; + max-height: 80px; } .table .thead-dark th { background-color: #dd8790; diff --git a/home/templates/home/home_page.html b/home/templates/home/home_page.html index 7c5a0e5..74dc28b 100644 --- a/home/templates/home/home_page.html +++ b/home/templates/home/home_page.html @@ -1,5 +1,6 @@ {% extends "base.html" %} - {% load static %} + {% load static aktuality_tags %} + {% load wagtailcore_tags %} {% block body_class %}template-homepage{% endblock %} {% block extra_css %} {% comment %} Delete the line below if you're just getting started and want to remove the welcome screen! {% endcomment %} @@ -12,68 +13,8 @@

Aktuality

-
-
-

Dovolená

-
-
-
-
-
-
- -
- 18.6.2020 -
-
-
- -
- Školení na jatkách. -
-
-
-
-
- -
- -
-
-
-
-
-
-
-

Nemoc

-
-
-
-
-
-
- -
- 11.5.2020 - 16.5.2020 -
-
-
- -
- Od pondělí do pátku je veterina zavřena kvůli nemoci. -
-
-
-
-
- -
- -
-
-
-
-
+ {% home_aktualne %} +

Informace o klinice

diff --git a/kontakty/models.py b/kontakty/models.py index f2cc922..a2d2845 100644 --- a/kontakty/models.py +++ b/kontakty/models.py @@ -10,13 +10,18 @@ from wagtail.search import index class KontaktyPage(Page): + subpage_types = ["kontakty.KontaktyPage"] body = RichTextField(blank=True) search_fields = Page.search_fields + [ index.SearchField('body'), - ] + ] content_panels = Page.content_panels + [ FieldPanel('body', classname="full"), ] +def kontaktyall(): + return { + "items": KontaktyPage.all(), + } \ No newline at end of file diff --git a/kontakty/templates/kontakty/kontakty_page.html b/kontakty/templates/kontakty/kontakty_page.html index ab19f2f..36e5cb8 100644 --- a/kontakty/templates/kontakty/kontakty_page.html +++ b/kontakty/templates/kontakty/kontakty_page.html @@ -1,5 +1,5 @@ {% extends "base.html" %} - {% load static %} + {% load wagtailcore_tags static %} {% block body_class %}template-homepage{% endblock %} {% block extra_css %} {% comment %} Delete the line below if you're just getting started and want to remove the welcome screen! {% endcomment %} @@ -15,7 +15,7 @@

Adresa

-
+
Lovosice, Pavlova 1356
@@ -24,38 +24,32 @@

Duležitá čísla

-
-
-
-

Ordinace

-
-
- tel: 752 589 486 -
-
-
+ {% for item in page.get_children %}
-

Doktorka

+

{{ item.title }}

- tel: 752 589 487 -
-
-
-
-
-
-

Sestra

-
-
- tel: 752 589 488 + tel: {{ item.specific.body|richtext }}
+ {% endfor %}
+ + + {% endblock content %} \ No newline at end of file diff --git a/media/images/5412827_australsky-ovcak-pes-v1.2e16d0ba.fill-100x150.jpg b/media/images/5412827_australsky-ovcak-pes-v1.2e16d0ba.fill-100x150.jpg new file mode 100644 index 0000000..b8f6af3 Binary files /dev/null and b/media/images/5412827_australsky-ovcak-pes-v1.2e16d0ba.fill-100x150.jpg differ diff --git a/media/images/5412827_australsky-ovcak-pes-v1.2e16d0ba.fill-150x150.jpg b/media/images/5412827_australsky-ovcak-pes-v1.2e16d0ba.fill-150x150.jpg new file mode 100644 index 0000000..10d1025 Binary files /dev/null and b/media/images/5412827_australsky-ovcak-pes-v1.2e16d0ba.fill-150x150.jpg differ diff --git a/media/images/5412827_australsky-ovcak-pes-v1.2e16d0ba.fill-300x200.jpg b/media/images/5412827_australsky-ovcak-pes-v1.2e16d0ba.fill-300x200.jpg new file mode 100644 index 0000000..431b6cb Binary files /dev/null and b/media/images/5412827_australsky-ovcak-pes-v1.2e16d0ba.fill-300x200.jpg differ diff --git a/media/images/5412827_australsky-ovcak-pes-v1.2e16d0ba.fill-400x200.jpg b/media/images/5412827_australsky-ovcak-pes-v1.2e16d0ba.fill-400x200.jpg new file mode 100644 index 0000000..7935ef9 Binary files /dev/null and b/media/images/5412827_australsky-ovcak-pes-v1.2e16d0ba.fill-400x200.jpg differ diff --git a/media/images/Recko.2e16d0ba.fill-400x200.jpg b/media/images/Recko.2e16d0ba.fill-400x200.jpg new file mode 100644 index 0000000..06cbd05 Binary files /dev/null and b/media/images/Recko.2e16d0ba.fill-400x200.jpg differ diff --git a/media/images/Recko.max-165x165.jpg b/media/images/Recko.max-165x165.jpg new file mode 100644 index 0000000..b316579 Binary files /dev/null and b/media/images/Recko.max-165x165.jpg differ diff --git a/media/images/auto.2e16d0ba.fill-400x200.png b/media/images/auto.2e16d0ba.fill-400x200.png new file mode 100644 index 0000000..685a30f Binary files /dev/null and b/media/images/auto.2e16d0ba.fill-400x200.png differ diff --git a/media/images/auto.max-165x165.png b/media/images/auto.max-165x165.png new file mode 100644 index 0000000..d8e352a Binary files /dev/null and b/media/images/auto.max-165x165.png differ diff --git a/media/images/nemoc.2e16d0ba.fill-400x200.jpg b/media/images/nemoc.2e16d0ba.fill-400x200.jpg new file mode 100644 index 0000000..9c6e704 Binary files /dev/null and b/media/images/nemoc.2e16d0ba.fill-400x200.jpg differ diff --git a/media/images/nemoc.max-165x165.jpg b/media/images/nemoc.max-165x165.jpg new file mode 100644 index 0000000..2313dce Binary files /dev/null and b/media/images/nemoc.max-165x165.jpg differ diff --git a/media/original_images/Recko.jpg b/media/original_images/Recko.jpg new file mode 100644 index 0000000..802edf1 Binary files /dev/null and b/media/original_images/Recko.jpg differ diff --git a/media/original_images/auto.png b/media/original_images/auto.png new file mode 100644 index 0000000..af68216 Binary files /dev/null and b/media/original_images/auto.png differ diff --git a/media/original_images/nemoc.jpg b/media/original_images/nemoc.jpg new file mode 100644 index 0000000..89d7467 Binary files /dev/null and b/media/original_images/nemoc.jpg differ diff --git a/sluzby/__init__.py b/sluzby/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/sluzby/admin.py b/sluzby/admin.py new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/sluzby/admin.py @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/sluzby/apps.py b/sluzby/apps.py new file mode 100644 index 0000000..882c5d9 --- /dev/null +++ b/sluzby/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class SluzbyConfig(AppConfig): + name = 'sluzby' diff --git a/sluzby/migrations/0001_initial.py b/sluzby/migrations/0001_initial.py new file mode 100644 index 0000000..dddcd56 --- /dev/null +++ b/sluzby/migrations/0001_initial.py @@ -0,0 +1,30 @@ +# Generated by Django 3.1.3 on 2020-12-02 10:15 + +from django.db import migrations, models +import django.db.models.deletion +import wagtail.core.fields + + +class Migration(migrations.Migration): + + initial = True + + dependencies = [ + ('wagtailcore', '0059_apply_collection_ordering'), + ] + + operations = [ + migrations.CreateModel( + name='SluzbyItems', + fields=[ + ('page_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtailcore.page')), + ('objednani', models.BooleanField(default=True)), + ('mozne_koplikace', wagtail.core.fields.RichTextField(blank=True)), + ('cena', models.CharField(blank=True, max_length=200)), + ], + options={ + 'abstract': False, + }, + bases=('wagtailcore.page',), + ), + ] diff --git a/sluzby/migrations/0002_sluzbyitems_nazev_sluzby.py b/sluzby/migrations/0002_sluzbyitems_nazev_sluzby.py new file mode 100644 index 0000000..0e16ad4 --- /dev/null +++ b/sluzby/migrations/0002_sluzbyitems_nazev_sluzby.py @@ -0,0 +1,18 @@ +# Generated by Django 3.1.3 on 2020-12-02 10:19 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('sluzby', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='sluzbyitems', + name='nazev_sluzby', + field=models.CharField(blank=True, max_length=200), + ), + ] diff --git a/sluzby/migrations/__init__.py b/sluzby/migrations/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/sluzby/models.py b/sluzby/models.py new file mode 100644 index 0000000..bd7f3ae --- /dev/null +++ b/sluzby/models.py @@ -0,0 +1,31 @@ +from django.db import models + +from modelcluster.fields import ParentalKey + +from wagtail.core.models import Page, Orderable +from wagtail.core.fields import RichTextField +from wagtail.admin.edit_handlers import FieldPanel, InlinePanel +from wagtail.images.edit_handlers import ImageChooserPanel +from wagtail.search import index + + +class SluzbyItems(Page): + nazev_sluzby = models.CharField(blank=True, max_length=200) + objednani = models.BooleanField(default=True) + mozne_koplikace = RichTextField(blank=True) + cena = models.CharField(blank=True, max_length=200) + + + search_fields = Page.search_fields + [ + index.SearchField('nazev_sluzby'), + ] + search_fields = Page.search_fields + [ + index.SearchField('mozne_koplikace'), + ] + + content_panels = Page.content_panels + [ + FieldPanel('nazev_sluzby'), + FieldPanel('objednani'), + FieldPanel('mozne_koplikace'), + FieldPanel('cena'), + ] \ No newline at end of file diff --git a/sluzby/tests.py b/sluzby/tests.py new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/sluzby/tests.py @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/sluzby/views.py b/sluzby/views.py new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/sluzby/views.py @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here. diff --git a/stranka/models.py b/stranka/models.py index 89806ea..434f21a 100644 --- a/stranka/models.py +++ b/stranka/models.py @@ -10,6 +10,7 @@ from wagtail.search import index class StrankaPage(Page): + subpage_types = ["sluzby.SluzbyItems"] body = RichTextField(blank=True) search_fields = Page.search_fields + [ @@ -32,4 +33,7 @@ class StrankaPageGalleryImage(Orderable): panels = [ ImageChooserPanel('image'), FieldPanel('caption'), - ] \ No newline at end of file + ] + + +subpage_types = ["sluzby.SluzbyItems"] \ No newline at end of file diff --git a/stranka/templates/stranka/stranka_page.html b/stranka/templates/stranka/stranka_page.html index 34d85eb..cb276bb 100644 --- a/stranka/templates/stranka/stranka_page.html +++ b/stranka/templates/stranka/stranka_page.html @@ -1,5 +1,5 @@ {% extends "base.html" %} - {% load static %} + {% load static wagtailcore_tags %} {% block body_class %}template-homepage{% endblock %} {% block extra_css %} {% comment %} Delete the line below if you're just getting started and want to remove the welcome screen! {% endcomment %} @@ -11,7 +11,7 @@
-

Služby

+

{{ page.title }}

@@ -24,30 +24,20 @@ + {% for item in page.get_children %} - - - - - - - - - - - - - - - - - - - - - - + + + + + {% endfor %}
Zastřihávání drápků Ne Bez komplikací 120pč
Stříhaní srsti Ano Bez komplikací 150pč
Předoperační vyšetření Ano Bez komplikací 250pč
Operace hlay Ano Možná stráta domacího mazlíčka 2 500pč {{ item.specific.nazev_sluzby }} + {% if item.specific.objednani == False %} + Ano + {% else %} + Ne + {% endif %} + {{ item.specific.mozne_koplikace|richtext }} {{ item.specific.cena }} Kč
diff --git a/veterinahelcl/settings/base.py b/veterinahelcl/settings/base.py index 948dc7b..52498a4 100644 --- a/veterinahelcl/settings/base.py +++ b/veterinahelcl/settings/base.py @@ -52,6 +52,8 @@ INSTALLED_APPS = [ 'diskuze', 'stranka', 'kontakty', + 'aktuality', + 'sluzby', ] MIDDLEWARE = [