Commit 39efa37d authored by Aymeric Barantal's avatar Aymeric Barantal

rename project to picampaign

parent 948e93c1
......@@ -3,7 +3,7 @@ import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "campaign.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "picampaign.settings")
from django.core.management import execute_from_command_line
......
from django.contrib import admin
from campaign.campaign.models import (Campaign, Contact, CampaignContact,
Argumentary)
from picampaign.campaign.models import (Campaign, Contact, CampaignContact,
Argumentary)
admin.site.register(Campaign)
admin.site.register(Contact)
......
from django.contrib import admin
from campaign.feedback.models import Feedback
from picampaign.feedback.models import Feedback
admin.site.register(Feedback)
from django.db import models
from campaign.campaign.models import CampaignContact
from campaign.organization.models import FeedbackCategory
from picampaign.campaign.models import CampaignContact
from picampaign.organization.models import FeedbackCategory
class Feedback(models.Model):
......
from django.contrib import admin
from campaign.organization.models import Organization, Group, FeedbackCategory
from picampaign.organization.models import (Organization, Group,
FeedbackCategory)
admin.site.register(Organization)
admin.site.register(Group)
......
from django.db import models
from django.contrib.auth.models import User
from campaign.campaign.models import Contact
from picampaign.campaign.models import Contact
class Organization(models.Model):
......
......@@ -36,9 +36,9 @@ INSTALLED_APPS = (
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'campaign.campaign',
'campaign.organization',
'campaign.feedback',
'picampaign.campaign',
'picampaign.organization',
'picampaign.feedback',
)
MIDDLEWARE_CLASSES = (
......@@ -51,9 +51,9 @@ MIDDLEWARE_CLASSES = (
'django.middleware.clickjacking.XFrameOptionsMiddleware',
)
ROOT_URLCONF = 'campaign.urls'
ROOT_URLCONF = 'picampaign.urls'
WSGI_APPLICATION = 'campaign.wsgi.application'
WSGI_APPLICATION = 'picampaign.wsgi.application'
# Database
......
......@@ -8,7 +8,7 @@ https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
"""
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "campaign.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "picampaign.settings")
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
......@@ -9,8 +9,8 @@ requires = [
'django',
]
setup(name='campaign',
namespace_packages=['campaign'],
setup(name='picampaign',
namespace_packages=['picampaign'],
version='0.0.1',
description='PiPhone Campaign Manager.',
long_description=README,
......
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