Add plan follower model and configuration
This commit is contained in:
parent
829315c1dc
commit
7792674ed7
4 changed files with 150 additions and 0 deletions
|
|
@ -5,3 +5,10 @@ from django.utils.translation import gettext_lazy as _
|
|||
class FroideGovPlanConfig(AppConfig):
|
||||
name = "froide_govplan"
|
||||
verbose_name = _("GovPlan App")
|
||||
|
||||
def ready(self):
|
||||
from froide.follow.configuration import follow_registry
|
||||
|
||||
from .configuration import GovernmentPlanFollowConfiguration
|
||||
|
||||
follow_registry.register(GovernmentPlanFollowConfiguration())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue