Skip to content

Commit 5dd0d08

Browse files
committed
Revert "Merge branch 'prod-test' of https://github.com/ligmitz/cryptic-hunt"
This reverts commit 82e8c98, reversing changes made to fe8d091.
1 parent a9fb653 commit 5dd0d08

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+320
-242
lines changed

.dockerignore

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
.vscode
2-
venv/
3-
*/__pycache__/
4-
README.md
5-
db.sqlite3
1+
venv/

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@
33
/static_cdn/*
44
**/__pycache__/
55
venv/
6-
7-
.vscode

app/docker/Dockerfile Dockerfile

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
ARG PYTHON_VERSION
2-
FROM python:${PYTHON_VERSION}
1+
FROM python:3
32

43
WORKDIR /app
54

6-
RUN pip install -U pip wheel setuptools
7-
85
COPY requirements.txt /app/
96

107
RUN pip install -r requirements.txt
118

12-
COPY ../ .
9+
COPY . /app/
1310

1411
COPY entrypoint.sh /app/
1512

13+
ENTRYPOINT [ "sh", "entrypoint.sh" ]
1614

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

app/accounts/migrations/0001_initial.py accounts/migrations/0001_initial.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
# Generated by Django 3.1.6 on 2021-02-08 13:39
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.11 on 2018-01-14 11:39
3+
from __future__ import unicode_literals
24

35
from django.conf import settings
46
from django.db import migrations, models
57
import django.db.models.deletion
6-
import django.utils.timezone
78

89

910
class Migration(migrations.Migration):
@@ -21,12 +22,10 @@ class Migration(migrations.Migration):
2122
fields=[
2223
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
2324
('institute', models.CharField(max_length=255, null=True)),
24-
('phoneNumber', models.IntegerField(default=0)),
25-
('current_level_time', models.DateTimeField(default=django.utils.timezone.now)),
25+
('current_level_time', models.DateTimeField(auto_now=True)),
2626
('is_banned', models.BooleanField(default=False)),
2727
('is_admin', models.BooleanField(default=False)),
28-
('is_cleared', models.BooleanField(default=False)),
29-
('current_level', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='questions.level')),
28+
('current_level', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='questions.Level')),
3029
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
3130
],
3231
),
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.11 on 2018-01-14 15:50
3+
from __future__ import unicode_literals
4+
5+
import datetime
6+
from django.db import migrations, models
7+
from django.utils.timezone import utc
8+
9+
10+
class Migration(migrations.Migration):
11+
12+
dependencies = [
13+
('accounts', '0001_initial'),
14+
]
15+
16+
operations = [
17+
migrations.AlterField(
18+
model_name='profile',
19+
name='current_level_time',
20+
field=models.DateTimeField(default=datetime.datetime(2018, 1, 14, 15, 50, 2, 111189, tzinfo=utc)),
21+
),
22+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.11 on 2018-01-14 16:30
3+
from __future__ import unicode_literals
4+
5+
from django.db import migrations, models
6+
import django.utils.timezone
7+
8+
9+
class Migration(migrations.Migration):
10+
11+
dependencies = [
12+
('accounts', '0002_auto_20180114_1550'),
13+
]
14+
15+
operations = [
16+
migrations.AlterField(
17+
model_name='profile',
18+
name='current_level_time',
19+
field=models.DateTimeField(default=django.utils.timezone.now),
20+
),
21+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 3.0.8 on 2021-01-30 06:00
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('accounts', '0003_auto_20180114_1630'),
10+
]
11+
12+
operations = [
13+
migrations.AddField(
14+
model_name='profile',
15+
name='is_cleared',
16+
field=models.BooleanField(default=False),
17+
),
18+
]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.11.17 on 2021-02-02 08:50
3+
from __future__ import unicode_literals
4+
5+
from django.db import migrations, models
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
('accounts', '0004_profile_is_cleared'),
12+
]
13+
14+
operations = [
15+
migrations.AddField(
16+
model_name='profile',
17+
name='phoneNumber',
18+
field=models.IntegerField(default=0),
19+
),
20+
]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

app/cryptic/bin/activate

-1
This file was deleted.

app/cryptic/bin/conda

-1
This file was deleted.

app/cryptic/bin/deactivate

-1
This file was deleted.

app/cryptic/settings.py

-159
This file was deleted.
File renamed without changes.

cryptic/bin/activate

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/home/karan/anaconda3/bin/activate

cryptic/bin/conda

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/home/karan/anaconda3/bin/conda

cryptic/bin/deactivate

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/home/karan/anaconda3/bin/deactivate

0 commit comments

Comments
 (0)