Skip to content

Commit

Permalink
renamed references to 'kobo_playground' to 'kobo'
Browse files Browse the repository at this point in the history
in preparation for kobo.apps.*
  • Loading branch information
dorey committed Jul 13, 2016
1 parent 63cebfe commit f9c0210
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def deploy_ref(deployment_name, ref):
run("npm run build-production")

# KPI and KF share a virtualenv but have distinct settings modules
with prefix('DJANGO_SETTINGS_MODULE=kobo_playground.settings'):
with prefix('DJANGO_SETTINGS_MODULE=kobo.settings'):
run("python manage.py syncdb")
run("python manage.py migrate")
run("python manage.py collectstatic --noinput")
Expand Down Expand Up @@ -164,5 +164,5 @@ def transfer_data(deployment_name):
setup_env(deployment_name)
with cd(env.kpi_path):
with kobo_workon(env.kpi_virtualenv_name):
with prefix('DJANGO_SETTINGS_MODULE=kobo_playground.settings'):
with prefix('DJANGO_SETTINGS_MODULE=kobo.settings'):
run('python manage.py import_survey_drafts_from_dkobo --allusers')
6 changes: 3 additions & 3 deletions kobo_playground/settings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Django settings for kobo_playground project.
Django settings for kobo project.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/
Expand Down Expand Up @@ -99,9 +99,9 @@
'kpi.backends.ObjectPermissionBackend',
)

ROOT_URLCONF = 'kobo_playground.urls'
ROOT_URLCONF = 'kobo.urls'

WSGI_APPLICATION = 'kobo_playground.wsgi.application'
WSGI_APPLICATION = 'kobo.wsgi.application'

# What User object should be mapped to AnonymousUser?
ANONYMOUS_USER_ID = -1
Expand Down
4 changes: 2 additions & 2 deletions kobo_playground/wsgi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
WSGI config for kobo_playground project.
WSGI config for kobo project.
It exposes the WSGI callable as a module-level variable named ``application``.
Expand All @@ -8,7 +8,7 @@
"""

import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "kobo_playground.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "kobo.settings")

from django.core.wsgi import get_wsgi_application
from whitenoise.django import DjangoWhiteNoise
Expand Down
2 changes: 1 addition & 1 deletion kpi/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.utils.translation import ugettext_lazy as _
from registration import forms as registration_forms

from kobo_playground.static_lists import SECTORS, COUNTRIES
from kobo.static_lists import SECTORS, COUNTRIES

USERNAME_REGEX = r'^[a-z][a-z0-9_]+$'
USERNAME_MAX_LENGTH = 30
Expand Down
2 changes: 1 addition & 1 deletion manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import sys

if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "kobo_playground.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "kobo.settings")

from django.core.management import execute_from_command_line

Expand Down

0 comments on commit f9c0210

Please sign in to comment.