Skip to content

Commit

Permalink
final commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmichaelb committed Feb 24, 2022
1 parent c560398 commit f9a0586
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion board/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.0.1 on 2022-02-22 00:41
# Generated by Django 4.0.1 on 2022-02-23 07:00

from django.db import migrations, models
import django.db.models.deletion
Expand Down
4 changes: 2 additions & 2 deletions board/migrations/0002_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.0.1 on 2022-02-22 00:41
# Generated by Django 4.0.1 on 2022-02-23 07:00

from django.conf import settings
from django.db import migrations, models
Expand All @@ -10,8 +10,8 @@ class Migration(migrations.Migration):
initial = True

dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('board', '0001_initial'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]

operations = [
Expand Down
2 changes: 1 addition & 1 deletion board/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Card(models.Model):
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
user = models.ForeignKey(CustomUser, on_delete=models.CASCADE)
index = models.IntegerField(default=0) # redundant
index = models.IntegerField(default=0)
column = models.ForeignKey(Column, on_delete=models.CASCADE, related_name='cards')
class Meta:
ordering = ('-created_at',)
Expand Down
1 change: 0 additions & 1 deletion board/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from .serializers import *
# Create your views here.


def index(request):
return render(request, 'board/index.html')

Expand Down
2 changes: 1 addition & 1 deletion kanban_capstone/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = ["poopycraft.live", "127.0.0.1"]
ALLOWED_HOSTS = ["poopycraft.live", "127.0.0.1", "mivnet.onthewifi.com", "mivnet.onthewifi.com:8000"]


# Application definition
Expand Down
2 changes: 1 addition & 1 deletion users/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 4.0.1 on 2022-02-22 00:41
# Generated by Django 4.0.1 on 2022-02-23 07:00

import django.contrib.auth.models
import django.contrib.auth.validators
Expand Down

0 comments on commit f9a0586

Please sign in to comment.