21 lines
803 B
Python
21 lines
803 B
Python
from odoo import http # pyrefly: ignore [missing-import]
|
|
from odoo.http import request # pyrefly: ignore [missing-import]
|
|
|
|
|
|
class RegistrationController(http.Controller):
|
|
@http.route('/registration', type='http', auth='public', website=True)
|
|
def registration_page(self, **post):
|
|
return request.render('dance_new_theme.registration_page_template')
|
|
|
|
|
|
class ContactController(http.Controller):
|
|
@http.route('/contact', type='http', auth='public', website=True)
|
|
def contact_page(self, **post):
|
|
return request.render('dance_new_theme.contact_page_template')
|
|
|
|
|
|
class EventsController(http.Controller):
|
|
@http.route('/events', type='http', auth='public', website=True)
|
|
def events_page(self, **post):
|
|
return request.render('dance_new_theme.events_page_template')
|