Changeset - e8e20dd6d399
[Not reviewed]
1 3 0
Christopher Neugebauer - 8 years ago 2016-04-27 00:33:44
chrisjrn@gmail.com
Coverage, Migrations.
4 files changed with 22 insertions and 27 deletions:
0 comments (0 inline, 0 general)
.gitignore
Show inline comments
 
*.pyc
 
node_modules/
 
_build/
 
.DS_Store
 
dev.db
 

	
 
.coverage
pinaxcon/registrasion/migrations/0001_initial.py
Show inline comments
 
# -*- coding: utf-8 -*-
 
# Generated by Django 1.9.2 on 2016-04-01 10:05
 
# Generated by Django 1.9.2 on 2016-04-27 00:27
 
from __future__ import unicode_literals
 

	
 
from django.db import migrations, models
 
import django.db.models.deletion
 

	
 

	
 
class Migration(migrations.Migration):
 

	
 
    initial = True
 

	
 
    dependencies = [
 
        ('registrasion', '0011_auto_20160401_0943'),
 
        ('registrasion', '0001_initial'),
 
    ]
 

	
 
    operations = [
 
        migrations.CreateModel(
 
            name='AttendeeProfile',
 
            fields=[
 
                ('attendeeprofilebase_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='registrasion.AttendeeProfileBase')),
 
                ('name', models.CharField(help_text=b"Your name, as you'd like it to appear on your badge. ", max_length=64, verbose_name=b'Your name (for your conference nametag)')),
 
                ('company', models.CharField(blank=True, help_text=b"The name of your company, as you'd like it on your badge", max_length=64)),
 
                ('free_text_1', models.CharField(blank=True, help_text=b"A line of free text that will appear on your badge. Use this for your Twitter handle, IRC nick, your preferred pronouns or anything else you'd like people to see on your badge.", max_length=64, verbose_name=b'Free text line 1')),
 
                ('free_text_2', models.CharField(blank=True, max_length=64, verbose_name=b'Free text line 2')),
 
                ('name_per_invoice', models.CharField(blank=True, help_text=b"If your legal name is different to the name on your badge, fill this in, and we'll put it on your invoice. Otherwise, leave it blank.", max_length=64, verbose_name=b'Your legal name (for invoicing purposes)')),
 
                ('of_legal_age', models.BooleanField(default=False, verbose_name=b'18+?')),
 
                ('dietary_requirements', models.CharField(blank=True, max_length=256)),
 
                ('accessibility_requirements', models.CharField(blank=True, max_length=256)),
 
                ('gender', models.CharField(blank=True, max_length=64)),
 
            ],
 
            bases=('registrasion.attendeeprofilebase',),
 
        ),
 
        migrations.CreateModel(
 
            name='DemoPayment',
 
            fields=[
 
                ('paymentbase_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='registrasion.PaymentBase')),
 
            ],
 
            bases=('registrasion.paymentbase',),
 
        ),
 
    ]
pinaxcon/registrasion/migrations/0002_demopayment.py
Show inline comments
 
deleted file
pinaxcon/settings.py
Show inline comments
...
 
@@ -154,24 +154,27 @@ INSTALLED_APPS = [
 
    "symposion.teams",
 

	
 
    # Registrasion
 
    "registrasion",
 

	
 
    #admin - required by registrasion ??
 
    "nested_admin",
 

	
 
    # project
 
    "pinaxcon",
 
    "pinaxcon.proposals",
 
    "pinaxcon.registrasion",
 

	
 
    #testing
 
    "django_nose",
 
]
 

	
 
# A sample logging configuration. The only tangible logging
 
# performed by this configuration is to send an email to
 
# the site admins on every HTTP 500 error when DEBUG=False.
 
# See http://docs.djangoproject.com/en/dev/topics/logging for
 
# more details on how to customize your logging configuration.
 
LOGGING = {
 
    "version": 1,
 
    "disable_existing_loggers": False,
 
    "filters": {
 
        "require_debug_false": {
...
 
@@ -212,12 +215,21 @@ AUTHENTICATION_BACKENDS = [
 
    "symposion.teams.backends.TeamPermissionsBackend",
 
    "account.auth_backends.UsernameAuthenticationBackend",
 
]
 

	
 
CONFERENCE_ID = 1
 
PROPOSAL_FORMS = {
 
    "talk": "pinaxcon.proposals.forms.TalkProposalForm",
 
}
 
PINAX_PAGES_HOOKSET = "pinaxcon.hooks.PinaxPagesHookSet"
 
PINAX_BOXES_HOOKSET = "pinaxcon.hooks.PinaxBoxesHookSet"
 

	
 
ATTENDEE_PROFILE_FORM = "pinaxcon.registrasion.forms.ProfileForm"
 

	
 
# Use nose to run all tests
 
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
 

	
 
# Tell nose to measure coverage on the 'foo' and 'bar' apps
 
NOSE_ARGS = [
 
    '--with-coverage',
 
    '--cover-package=registrasion.controllers,registrasion.models',
 
]
0 comments (0 inline, 0 general)