fix: fixed the issue with dynamic routes.
- The code to install regex controller was not always executed. Forced the exection of that by adding it to community/__init__.py - Renoved the that code from hooks.py
This commit is contained in:
@@ -3,3 +3,5 @@ from __future__ import unicode_literals
|
||||
|
||||
__version__ = '0.0.1'
|
||||
|
||||
from .routing import install_regex_converter
|
||||
install_regex_converter()
|
||||
|
||||
@@ -127,9 +127,6 @@ scheduler_events = {
|
||||
#
|
||||
# auto_cancel_exempted_doctypes = ["Auto Repeat"]
|
||||
|
||||
from .routing import install_regex_converter
|
||||
install_regex_converter()
|
||||
|
||||
# Add all simple route rules here
|
||||
primary_rules = [
|
||||
{"from_route": "/sketches", "to_route": "sketches"},
|
||||
|
||||
Reference in New Issue
Block a user