Create crowdfunding campaigns in juntagrico.
Project description
juntagrico-crowdfunding
Create crowdfunding campaigns in juntagrico.
This is an extension for juntagrico. You can find more information about juntagrico here (https://github.com/juntagrico/juntagrico).
Installation
Install juntagrico-crowdfunding via pip
pip install juntagrico-crowdfunding
or add it to your django project's requirements.txt
:
juntagrico-crowdfunding
In your juntagrico.settings.py
add juntagrico_crowdfunding
somewhere above juntagrico
:
INSTALLED_APPS = (
'juntagrico_crowdfunding',
'juntagrico',
...
And add this middleware:
MIDDLEWARE = [
...
'juntagrico_crowdfunding.middleware.FunderAccess'
]
In your urls.py you also need to add the new pattern:
urlpatterns = [
...
path('',include('juntagrico_crowdfunding.urls')),
]
Run python manage.py migrate
to create the required databases.
Configuration
Set these in your settings.py
to modify juntagrico-crowdfunding
VOCABULARY
(added keys to the existing juntagrico setting)
default value:
{
'funding_project': 'Unterstützungs-Projekt',
'funding_project_pl': 'Unterstützungs-Projekte'
}
EMAILS
Sets the email templates (added keys to the existing juntagrico setting)
default value:
{
'fund_confirmation_mail': 'cf/mails/fund_confirmation_mail.txt',
}