Commit d4a7d6c8 authored by Noe Nieto's avatar Noe Nieto 💬

Not working yet

parent 1cbafc56
......@@ -2,11 +2,11 @@ from django.db import models
from django.contrib.auth import get_user_model
User = get_user_model()
# User = get_user_model()
# Create your models here.
class ChosenReward(models.Model):
user = models.OneToOneField(User)
# user = models.OneToOneField(User)
reward = models.IntegerField()
......@@ -10,9 +10,9 @@ from .settings_original import *
# LOAD CONFIGURATION FILE
#
CONFIG_PATH = '/etc/opt/purist/middleware/config.ini'
SECRET_PATH = '/etc/opt/purist/middleware/secret.ini'
LINK_PROFILE_PATH = '/etc/opt/purist/middleware/link_profile.strict.yml'
CONFIG_PATH = '/ldh_dev_root/etc/config.ini'
SECRET_PATH = '/ldh_dev_root/etc/secret.ini'
LINK_PROFILE_PATH = '/ldh_dev_root/etc/link_profile.strict.yml'
config = Config(RepositoryIni(CONFIG_PATH))
secret_config = Config(RepositoryIni(SECRET_PATH))
......@@ -44,7 +44,7 @@ ALLOWED_HOSTS = config("ALLOWED_HOSTS", cast=Csv())
#
INSTALLED_APPS += ["crispy_forms", "django_agpl", "django_celery_beat", "django_extensions", "ldapregister",
"limitmonitor", "purist", "captcha"]
"limitmonitor", "purist", "captcha", "crowdfunding", "registration"]
#
# AGPL APPLICATION
......
......@@ -44,5 +44,6 @@ urlpatterns = [
url(r'^download/', include('django_agpl.urls')),
url(r'^jslicense/$', purist.views.jslicense, name='jslicense'),
url(r'^captcha/', include('captcha.urls')),
url(r'^crowdfund/(?P<reward>\d+)/$', CrowdFundRegistrationView.as_view()),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment