~homeworkprod/byceps

0a6eac9a01fd428cc44328179d735a4ec73a4418 — Jochen Kupperschmidt 1 year, 2 months ago 0c8e01a
Move party blueprint into `site` subpackage
5 files changed, 7 insertions(+), 7 deletions(-)

M byceps/application.py
R byceps/blueprints/{party/__init__.py => site/party/__init__.py}
R byceps/blueprints/{party/templates/party/archive.html => site/party/templates/site/party/archive.html}
R byceps/blueprints/{party/templates/party/info.html => site/party/templates/site/party/info.html}
R byceps/blueprints/{party/views.py => site/party/views.py}
M byceps/application.py => byceps/application.py +1 -1
@@ 117,7 117,7 @@ def _get_blueprints_site() -> Iterator[BlueprintReg]:
        ('site.news',                   '/news'                     ),
        ('site.newsletter',             '/newsletter'               ),
        ('site.orga_team',              '/orgas'                    ),
        ('party',                       None                        ),
        ('site.party',                  None                        ),
        ('seating',                     '/seating'                  ),
        ('shop.order',                  '/shop'                     ),
        ('shop.orders',                 '/shop/orders'              ),

R byceps/blueprints/party/__init__.py => byceps/blueprints/site/party/__init__.py +0 -0
R byceps/blueprints/party/templates/party/archive.html => byceps/blueprints/site/party/templates/site/party/archive.html +0 -0
R byceps/blueprints/party/templates/party/info.html => byceps/blueprints/site/party/templates/site/party/info.html +0 -0
R byceps/blueprints/party/views.py => byceps/blueprints/site/party/views.py +6 -6
@@ 1,6 1,6 @@
"""
byceps.blueprints.party.views
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
byceps.blueprints.site.party.views
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:Copyright: 2006-2020 Jochen Kupperschmidt
:License: Modified BSD, see LICENSE for details.


@@ 8,10 8,10 @@ byceps.blueprints.party.views

from flask import abort, g

from ...services.party import service as party_service
from ...services.ticketing import attendance_service
from ...util.framework.blueprint import create_blueprint
from ...util.framework.templating import templated
from ....services.party import service as party_service
from ....services.ticketing import attendance_service
from ....util.framework.blueprint import create_blueprint
from ....util.framework.templating import templated


blueprint = create_blueprint('party', __name__)