summaryrefslogtreecommitdiff
path: root/app/unused_apps/daily
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2017-12-14 19:58:07 -0800
committerluxagraf <sng@luxagraf.net>2017-12-14 19:58:07 -0800
commitc903be495237125906e95e2d5fcb9f17df09327c (patch)
tree27173dad151e2c09105bd1c1b64f9d04210f8d8e /app/unused_apps/daily
parent83b7318a4672d32ed77cd3f906f43f5ad1cce854 (diff)
cleaned up notes, archived old apps, moved checkins to locations app
where it should have been from the beginning
Diffstat (limited to 'app/unused_apps/daily')
-rw-r--r--app/unused_apps/daily/migrations/0001_initial.py2
-rw-r--r--app/unused_apps/daily/migrations/0011_auto_20171214_2239.py21
-rw-r--r--app/unused_apps/daily/models.py2
3 files changed, 23 insertions, 2 deletions
diff --git a/app/unused_apps/daily/migrations/0001_initial.py b/app/unused_apps/daily/migrations/0001_initial.py
index b3ba687..70a9755 100644
--- a/app/unused_apps/daily/migrations/0001_initial.py
+++ b/app/unused_apps/daily/migrations/0001_initial.py
@@ -13,7 +13,7 @@ class Migration(migrations.Migration):
initial = True
dependencies = [
- ('locations', '__first__'),
+ #('locations', '__first__'),
]
operations = [
diff --git a/app/unused_apps/daily/migrations/0011_auto_20171214_2239.py b/app/unused_apps/daily/migrations/0011_auto_20171214_2239.py
new file mode 100644
index 0000000..2cf9207
--- /dev/null
+++ b/app/unused_apps/daily/migrations/0011_auto_20171214_2239.py
@@ -0,0 +1,21 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.5 on 2017-12-14 22:39
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('daily', '0010_auto_20161023_2014'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='checkin',
+ name='location',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='adsjf', to='locations.Location'),
+ ),
+ ]
diff --git a/app/unused_apps/daily/models.py b/app/unused_apps/daily/models.py
index 1bf7bfd..bd5f018 100644
--- a/app/unused_apps/daily/models.py
+++ b/app/unused_apps/daily/models.py
@@ -10,7 +10,7 @@ from utils.widgets import markdown_to_html
class CheckIn(models.Model):
point = models.PointField(blank=True)
- location = models.ForeignKey(Location, blank=True, null=True)
+ location = models.ForeignKey(Location, blank=True, null=True, related_name='adsjf')
date = models.DateField(default=timezone.now)
class Meta: