summaryrefslogtreecommitdiff
path: root/arduino_blog/migrations
diff options
context:
space:
mode:
authorSashi202020-02-20 12:58:59 +0530
committerSashi202020-02-20 12:58:59 +0530
commit1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029 (patch)
tree3a9829196102efdf509fe50b5458237966999ecf /arduino_blog/migrations
parent802bbc270363d1432cb28cd88d6c9003d8b99b6c (diff)
downloadarduino_projects_website-1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029.tar.gz
arduino_projects_website-1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029.tar.bz2
arduino_projects_website-1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029.zip
Add user registration, login and abstract submission interfaces
Diffstat (limited to 'arduino_blog/migrations')
-rw-r--r--arduino_blog/migrations/0001_initial.py61
-rw-r--r--arduino_blog/migrations/__init__.py0
-rw-r--r--arduino_blog/migrations/__pycache__/0001_initial.cpython-35.pycbin0 -> 3581 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0002_proposal.cpython-35.pycbin0 -> 1848 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0003_auto_20200218_1034.cpython-35.pycbin0 -> 2313 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0004_auto_20200218_1059.cpython-35.pycbin0 -> 748 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0005_auto_20200219_0808.cpython-35.pycbin0 -> 733 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0006_auto_20200219_0922.cpython-35.pycbin0 -> 1107 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0007_auto_20200219_0924.cpython-35.pycbin0 -> 842 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0008_auto_20200219_0936.cpython-35.pycbin0 -> 1067 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0009_auto_20200219_1101.cpython-35.pycbin0 -> 681 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0010_auto_20200219_1233.cpython-35.pycbin0 -> 768 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0011_remove_proposal_phone.cpython-35.pycbin0 -> 587 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0012_remove_proposal_prerequisite.cpython-35.pycbin0 -> 627 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0013_remove_proposal_name_of_author.cpython-35.pycbin0 -> 615 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0014_proposal_name_of_author.cpython-35.pycbin0 -> 739 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/0015_auto_20200220_0707.cpython-35.pycbin0 -> 868 bytes
-rw-r--r--arduino_blog/migrations/__pycache__/__init__.cpython-35.pycbin0 -> 173 bytes
18 files changed, 61 insertions, 0 deletions
diff --git a/arduino_blog/migrations/0001_initial.py b/arduino_blog/migrations/0001_initial.py
new file mode 100644
index 0000000..dc883f3
--- /dev/null
+++ b/arduino_blog/migrations/0001_initial.py
@@ -0,0 +1,61 @@
+# Generated by Django 2.1 on 2020-02-20 07:10
+
+import arduino_blog.models
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Profile',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('date_created', models.DateTimeField(auto_now_add=True)),
+ ('date_modified', models.DateTimeField(auto_now=True)),
+ ('title', models.CharField(blank=True, choices=[('Mr', 'Mr.'), ('Miss', 'Ms.'), ('Professor', 'Prof.'), ('Doctor', 'Dr.')], max_length=32)),
+ ('institute', models.CharField(max_length=150)),
+ ('phone', models.CharField(max_length=10)),
+ ('position', models.CharField(choices=[('student', 'Student'), ('faculty', 'Faculty')], max_length=32)),
+ ('how_did_you_hear_about_us', models.CharField(blank=True, choices=[('Poster', 'Poster'), ('FOSSEE website', 'FOSSEE website'), ('Google', 'Google'), ('Social Media', 'Social Media'), ('NMEICT Blended Workshop', 'NMEICT Blended Workshop'), ('From other College', 'From other College')], max_length=255)),
+ ('state', models.CharField(blank=True, choices=[('IN-AP', 'Andhra Pradesh'), ('IN-AR', 'Arunachal Pradesh'), ('IN-AS', 'Assam'), ('IN-BR', 'Bihar'), ('IN-CT', 'Chhattisgarh'), ('IN-GA', 'Goa'), ('IN-GJ', 'Gujarat'), ('IN-HR', 'Haryana'), ('IN-HP', 'Himachal Pradesh'), ('IN-JK', 'Jammu and Kashmir'), ('IN-JH', 'Jharkhand'), ('IN-KA', 'Karnataka'), ('IN-KL', 'Kerala'), ('IN-MP', 'Madhya Pradesh'), ('IN-MH', 'Maharashtra'), ('IN-MN', 'Manipur'), ('IN-ML', 'Meghalaya'), ('IN-MZ', 'Mizoram'), ('IN-NL', 'Nagaland'), ('IN-OR', 'Odisha'), ('IN-PB', 'Punjab'), ('IN-RJ', 'Rajasthan'), ('IN-SK', 'Sikkim'), ('IN-TN', 'Tamil Nadu'), ('IN-TG', 'Telangana'), ('IN-TR', 'Tripura'), ('IN-UT', 'Uttarakhand'), ('IN-UP', 'Uttar Pradesh'), ('IN-WB', 'West Bengal'), ('IN-AN', 'Andaman and Nicobar Islands'), ('IN-CH', 'Chandigarh'), ('IN-DN', 'Dadra and Nagar Haveli'), ('IN-DD', 'Daman and Diu'), ('IN-DL', 'Delhi'), ('IN-LD', 'Lakshadweep'), ('IN-PY', 'Puducherry')], max_length=50)),
+ ('city', models.CharField(blank=True, max_length=50)),
+ ('pincode', models.CharField(blank=True, max_length=6)),
+ ('is_email_verified', models.BooleanField(default=False)),
+ ('activation_key', models.CharField(blank=True, max_length=255, null=True)),
+ ('key_expiry_time', models.DateTimeField(blank=True, null=True)),
+ ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ ),
+ migrations.CreateModel(
+ name='Proposal',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('date_created', models.DateTimeField(auto_now_add=True)),
+ ('date_modified', models.DateTimeField(auto_now=True)),
+ ('name_of_author', models.CharField(default='None', max_length=200)),
+ ('about_the_author', models.TextField(max_length=500)),
+ ('email', models.CharField(max_length=128)),
+ ('title_of_the_project', models.CharField(max_length=250)),
+ ('abstract', models.TextField(max_length=700)),
+ ('attachment', models.FileField(upload_to=arduino_blog.models.get_document_dir)),
+ ('status', models.CharField(default='Pending', max_length=100)),
+ ('terms_and_conditions', models.BooleanField(default='True')),
+ ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
+ ],
+ options={
+ 'abstract': False,
+ },
+ ),
+ ]
diff --git a/arduino_blog/migrations/__init__.py b/arduino_blog/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/arduino_blog/migrations/__init__.py
diff --git a/arduino_blog/migrations/__pycache__/0001_initial.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0001_initial.cpython-35.pyc
new file mode 100644
index 0000000..6c92caa
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0001_initial.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0002_proposal.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0002_proposal.cpython-35.pyc
new file mode 100644
index 0000000..70f9a71
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0002_proposal.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0003_auto_20200218_1034.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0003_auto_20200218_1034.cpython-35.pyc
new file mode 100644
index 0000000..71e0859
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0003_auto_20200218_1034.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0004_auto_20200218_1059.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0004_auto_20200218_1059.cpython-35.pyc
new file mode 100644
index 0000000..b80292a
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0004_auto_20200218_1059.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0005_auto_20200219_0808.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0005_auto_20200219_0808.cpython-35.pyc
new file mode 100644
index 0000000..79f0b7d
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0005_auto_20200219_0808.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0006_auto_20200219_0922.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0006_auto_20200219_0922.cpython-35.pyc
new file mode 100644
index 0000000..374f207
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0006_auto_20200219_0922.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0007_auto_20200219_0924.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0007_auto_20200219_0924.cpython-35.pyc
new file mode 100644
index 0000000..cc1bd87
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0007_auto_20200219_0924.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0008_auto_20200219_0936.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0008_auto_20200219_0936.cpython-35.pyc
new file mode 100644
index 0000000..0ff13a5
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0008_auto_20200219_0936.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0009_auto_20200219_1101.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0009_auto_20200219_1101.cpython-35.pyc
new file mode 100644
index 0000000..4053eb4
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0009_auto_20200219_1101.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0010_auto_20200219_1233.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0010_auto_20200219_1233.cpython-35.pyc
new file mode 100644
index 0000000..cc7d525
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0010_auto_20200219_1233.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0011_remove_proposal_phone.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0011_remove_proposal_phone.cpython-35.pyc
new file mode 100644
index 0000000..92baddc
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0011_remove_proposal_phone.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0012_remove_proposal_prerequisite.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0012_remove_proposal_prerequisite.cpython-35.pyc
new file mode 100644
index 0000000..1385c68
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0012_remove_proposal_prerequisite.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0013_remove_proposal_name_of_author.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0013_remove_proposal_name_of_author.cpython-35.pyc
new file mode 100644
index 0000000..b26e238
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0013_remove_proposal_name_of_author.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0014_proposal_name_of_author.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0014_proposal_name_of_author.cpython-35.pyc
new file mode 100644
index 0000000..54b82cd
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0014_proposal_name_of_author.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/0015_auto_20200220_0707.cpython-35.pyc b/arduino_blog/migrations/__pycache__/0015_auto_20200220_0707.cpython-35.pyc
new file mode 100644
index 0000000..6163eb9
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/0015_auto_20200220_0707.cpython-35.pyc
Binary files differ
diff --git a/arduino_blog/migrations/__pycache__/__init__.cpython-35.pyc b/arduino_blog/migrations/__pycache__/__init__.cpython-35.pyc
new file mode 100644
index 0000000..8c3ab9a
--- /dev/null
+++ b/arduino_blog/migrations/__pycache__/__init__.cpython-35.pyc
Binary files differ