mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 17:23:24 -05:00
Add build signin option.
This commit is contained in:
parent
49f37ed492
commit
88177cd00a
20
bikeshop_project/core/migrations/0003_auto_20170219_1741.py
Normal file
20
bikeshop_project/core/migrations/0003_auto_20170219_1741.py
Normal file
@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.4 on 2017-02-19 17:41
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('core', '0002_auto_20170101_2054'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='visit',
|
||||
name='purpose',
|
||||
field=models.CharField(choices=[('VOLUNTEER', 'volunteer'), ('FIX', 'fix bike'), ('BUILD', 'build bike'), ('WORKSHOP', 'workshop'), ('VISIT', 'visit'), ('DONATE', 'donate'), ('STAFF', 'staff')], max_length=50),
|
||||
),
|
||||
]
|
@ -49,6 +49,7 @@ class Payment(models.Model):
|
||||
class Visit(models.Model):
|
||||
VOLUNTEER = 'VOLUNTEER'
|
||||
FIX = 'FIX'
|
||||
BUILD = 'BUILD'
|
||||
WORKSHOP = 'WORKSHOP'
|
||||
VISIT = 'VISIT'
|
||||
DONATE = 'DONATE'
|
||||
@ -56,7 +57,8 @@ class Visit(models.Model):
|
||||
|
||||
visit_choices = (
|
||||
(VOLUNTEER, 'volunteer'),
|
||||
(FIX, 'fix bike'), # fix
|
||||
(FIX, 'fix bike'),
|
||||
(BUILD, 'build bike'),
|
||||
(WORKSHOP, 'workshop'),
|
||||
(VISIT, 'visit'),
|
||||
(DONATE, 'donate'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user