mirror of
https://github.com/fergalmoran/dss.api.git
synced 2025-12-22 09:18:13 +00:00
Notifications fixups
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -16,6 +16,7 @@ dss/celery_settings.py
|
||||
dss/devsettings.py
|
||||
dss.conf
|
||||
dss/debugsettings.py
|
||||
logs/
|
||||
mysql
|
||||
test.py
|
||||
mysql2pgsql.yml
|
||||
|
||||
@@ -3,13 +3,10 @@ FROM fergalmoran/django
|
||||
ADD . /code/
|
||||
|
||||
|
||||
RUN mkdir /files/
|
||||
RUN mkdir /files/static
|
||||
RUN mkdir /files/media
|
||||
RUN mkdir /files/cache
|
||||
RUN mkdir /files/cache/mixes
|
||||
RUN mkdir /files/cache/waveforms
|
||||
RUN mkdir /files/tmp
|
||||
RUN touch /files/tmp/dss.log
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
19
spa/migrations/0026_notification_notification_text.py
Normal file
19
spa/migrations/0026_notification_notification_text.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('spa', '0025_socialaccountlink_provider_data'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='notification',
|
||||
name='notification_text',
|
||||
field=models.CharField(null=True, max_length=2048),
|
||||
),
|
||||
]
|
||||
19
spa/migrations/0027_auto_20160607_2042.py
Normal file
19
spa/migrations/0027_auto_20160607_2042.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('spa', '0026_notification_notification_text'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='notification',
|
||||
name='notification_text',
|
||||
field=models.CharField(max_length=2048),
|
||||
),
|
||||
]
|
||||
@@ -17,6 +17,7 @@ class Notification(BaseModel):
|
||||
type = models.CharField(max_length=200, null=True)
|
||||
target = models.CharField(max_length=200, null=True)
|
||||
target_desc = models.CharField(max_length=200, null=True)
|
||||
notification_text = models.CharField(max_length=2048, null=False)
|
||||
|
||||
accepted_date = models.DateTimeField(null=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user