Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit 1e655ca

Browse files
working on adding the zoloArticle feature in the app
1 parent 1205a45 commit 1e655ca

13 files changed

+207
-75
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Generated by Django 3.2.18 on 2023-07-26 19:22
2+
3+
import datetime
4+
from django.db import migrations, models
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
('Profile', '0023_auto_20230718_1933'),
11+
]
12+
13+
operations = [
14+
migrations.AlterField(
15+
model_name='recentearnings',
16+
name='created_at',
17+
field=models.DateField(default=datetime.date(2023, 7, 26)),
18+
),
19+
migrations.AlterField(
20+
model_name='referral',
21+
name='signed_up_at',
22+
field=models.DateField(default=datetime.date(2023, 7, 26)),
23+
),
24+
migrations.AlterField(
25+
model_name='transaction',
26+
name='created_at',
27+
field=models.DateField(default=datetime.date(2023, 7, 26)),
28+
),
29+
]
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Generated by Django 3.2.18 on 2023-07-27 11:19
2+
3+
import datetime
4+
from django.db import migrations, models
5+
6+
7+
class Migration(migrations.Migration):
8+
9+
dependencies = [
10+
('Profile', '0024_auto_20230727_0022'),
11+
]
12+
13+
operations = [
14+
migrations.AlterField(
15+
model_name='recentearnings',
16+
name='created_at',
17+
field=models.DateField(default=datetime.date(2023, 7, 27)),
18+
),
19+
migrations.AlterField(
20+
model_name='referral',
21+
name='signed_up_at',
22+
field=models.DateField(default=datetime.date(2023, 7, 27)),
23+
),
24+
migrations.AlterField(
25+
model_name='transaction',
26+
name='created_at',
27+
field=models.DateField(default=datetime.date(2023, 7, 27)),
28+
),
29+
]
Binary file not shown.
Binary file not shown.

questions.json

Lines changed: 90 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,92 @@
11
[
2-
{
3-
"subject": "Biology",
4-
"question": "Which enzyme converts glucose to glycogen?",
5-
"choices": ["Amylase", "Lipase", "Glycogenase", "Glucokinase"],
6-
"correct_answer": "Glucokinase"
7-
},
8-
{
9-
"subject": "Biology",
10-
"question": "Which hormone regulates blood calcium levels?",
11-
"choices": ["Insulin", "Cortisol", "Calcitonin", "Progesterone"],
12-
"correct_answer": "Calcitonin"
13-
},
14-
{
15-
"subject": "Biology",
16-
"question": "What is the role of the Golgi apparatus in a cell?",
17-
"choices": ["Protein synthesis", "Energy production", "Cell division", "Packaging and modifying proteins"],
18-
"correct_answer": "Packaging and modifying proteins"
19-
},
20-
{
21-
"subject": "Biology",
22-
"question": "What is the function of the semicircular canals in the human ear?",
23-
"choices": ["Sense temperature", "Maintain balance", "Detect light intensity", "Produce sound waves"],
24-
"correct_answer": "Maintain balance"
25-
},
26-
{
27-
"subject": "Biology",
28-
"question": "Which part of the brain is responsible for regulating body temperature?",
29-
"choices": ["Cerebrum", "Cerebellum", "Hypothalamus", "Medulla oblongata"],
30-
"correct_answer": "Hypothalamus"
31-
},
32-
{
33-
"subject": "Biology",
34-
"question": "Which process involves the exchange of gases between the alveoli and the blood?",
35-
"choices": ["Osmosis", "Filtration", "Diffusion", "Active transport"],
36-
"correct_answer": "Diffusion"
37-
},
38-
{
39-
"subject": "Biology",
40-
"question": "What is the largest known species of shark?",
41-
"choices": ["Great white shark", "Whale shark", "Tiger shark", "Hammerhead shark"],
42-
"correct_answer": "Whale shark"
43-
},
44-
{
45-
"subject": "Biology",
46-
"question": "Which part of a plant is responsible for water absorption?",
47-
"choices": ["Roots", "Stems", "Leaves", "Flowers"],
48-
"correct_answer": "Roots"
49-
},
50-
{
51-
"subject": "Biology",
52-
"question": "Which process involves the production of gametes?",
53-
"choices": ["Fertilization", "Mitosis", "Meiosis", "Budding"],
54-
"correct_answer": "Meiosis"
55-
},
56-
{
57-
"subject": "Biology",
58-
"question": "Which blood vessel carries oxygenated blood back to the heart from the lungs?",
59-
"choices": ["Aorta", "Pulmonary artery", "Pulmonary vein", "Vena cava"],
60-
"correct_answer": "Pulmonary vein"
61-
}
2+
{
3+
"subject": "History",
4+
"question": "Who was the first President of the United States?",
5+
"choices": ["Thomas Jefferson", "George Washington", "John Adams", "James Madison"],
6+
"correct_answer": "George Washington"
7+
},
8+
{
9+
"subject": "History",
10+
"question": "In which year did Christopher Columbus first reach the Americas?",
11+
"choices": ["1492", "1501", "1510", "1520"],
12+
"correct_answer": "1492"
13+
},
14+
{
15+
"subject": "History",
16+
"question": "Which ancient civilization built the Machu Picchu citadel in the 15th century?",
17+
"choices": ["Inca", "Maya", "Aztec", "Egyptian"],
18+
"correct_answer": "Inca"
19+
},
20+
{
21+
"subject": "History",
22+
"question": "Who wrote the famous historical work 'The Histories'?",
23+
"choices": ["Plato", "Herodotus", "Aristotle", "Thucydides"],
24+
"correct_answer": "Herodotus"
25+
},
26+
{
27+
"subject": "History",
28+
"question": "The Magna Carta, signed in 1215, was a significant historical document that influenced the development of which concept?",
29+
"choices": ["Democracy", "Communism", "Human rights", "Capitalism"],
30+
"correct_answer": "Democracy"
31+
},
32+
{
33+
"subject": "History",
34+
"question": "Who was the leader of the Soviet Union during World War II?",
35+
"choices": ["Joseph Stalin", "Vladimir Lenin", "Nikita Khrushchev", "Mikhail Gorbachev"],
36+
"correct_answer": "Joseph Stalin"
37+
},
38+
{
39+
"subject": "History",
40+
"question": "Which ancient civilization built the Great Pyramid of Giza?",
41+
"choices": ["Roman", "Greek", "Mesopotamian", "Egyptian"],
42+
"correct_answer": "Egyptian"
43+
},
44+
{
45+
"subject": "History",
46+
"question": "In which year did the United States declare its independence from Great Britain?",
47+
"choices": ["1776", "1783", "1790", "1801"],
48+
"correct_answer": "1776"
49+
},
50+
{
51+
"subject": "History",
52+
"question": "Who was the first woman to fly solo across the Atlantic Ocean?",
53+
"choices": ["Bessie Coleman", "Amelia Earhart", "Valentina Tereshkova", "Sally Ride"],
54+
"correct_answer": "Amelia Earhart"
55+
},
56+
{
57+
"subject": "History",
58+
"question": "During which war was the Battle of Gettysburg fought?",
59+
"choices": ["American Revolutionary War", "War of 1812", "American Civil War", "World War I"],
60+
"correct_answer": "American Civil War"
61+
},
62+
{
63+
"subject": "History",
64+
"question": "Who was the leader of the Nazi Party during World War II?",
65+
"choices": ["Benito Mussolini", "Hirohito", "Joseph Stalin", "Adolf Hitler"],
66+
"correct_answer": "Adolf Hitler"
67+
},
68+
{
69+
"subject": "History",
70+
"question": "In which year did the Berlin Wall fall, leading to the reunification of Germany?",
71+
"choices": ["1987", "1989", "1991", "1993"],
72+
"correct_answer": "1989"
73+
},
74+
{
75+
"subject": "History",
76+
"question": "Which Egyptian pharaoh is known for his tomb filled with treasures, discovered by Howard Carter in 1922?",
77+
"choices": ["Ramses II", "Tutankhamun", "Hatshepsut", "Thutmose III"],
78+
"correct_answer": "Tutankhamun"
79+
},
80+
{
81+
"subject": "History",
82+
"question": "Who was the first female Prime Minister of India?",
83+
"choices": ["Indira Gandhi", "Golda Meir", "Margaret Thatcher", "Benazir Bhutto"],
84+
"correct_answer": "Indira Gandhi"
85+
},
86+
{
87+
"subject": "History",
88+
"question": "Which European explorer led the first expedition to circumnavigate the globe?",
89+
"choices": ["Christopher Columbus", "Ferdinand Magellan", "Vasco da Gama", "James Cook"],
90+
"correct_answer": "Ferdinand Magellan"
91+
}
6292
]
217 Bytes
Binary file not shown.
5 Bytes
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 3.2.18 on 2023-07-26 19:22
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('rewards', '0010_articles_zoloarticles'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='articles',
15+
name='id',
16+
field=models.AutoField(primary_key=True, serialize=False),
17+
),
18+
]
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 3.2.18 on 2023-07-27 11:19
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('rewards', '0011_alter_articles_id'),
10+
]
11+
12+
operations = [
13+
migrations.AddField(
14+
model_name='articles',
15+
name='title',
16+
field=models.CharField(default='None', max_length=500),
17+
),
18+
]
Binary file not shown.

0 commit comments

Comments
 (0)