Multiple unimportant fixes
parent
20241b2115
commit
a8e0a2b15b
@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.5 on 2016-09-07 00:18
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('payments', '0004_auto_20160904_0048'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='subscription',
|
||||
name='status',
|
||||
field=models.CharField(choices=[('new', 'Created'), ('unconfirmed', 'Waiting for payment'), ('active', 'Active'), ('cancelled', 'Cancelled'), ('error', 'Error')], default='new', max_length=16),
|
||||
),
|
||||
]
|
@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
local_settings="ccvpn/local_settings.py"
|
||||
|
||||
run_manage() {
|
||||
echo "> manage.py $1..."
|
||||
python3 manage.py "$@"
|
||||
}
|
||||
|
||||
run_manage compilemessages
|
||||
run_manage migrate
|
||||
run_manage update_stripe_plans
|
||||
|
||||
if [ -f $local_settings ] && grep "^STATIC_ROOT" $local_settings; then
|
||||
run_manage collectstatic
|
||||
fi
|
||||
|
Loading…
Reference in New Issue