Skip to content

Commit

Permalink
Revert "Erfan"
Browse files Browse the repository at this point in the history
  • Loading branch information
erfanmotnt authored May 24, 2020
1 parent c3dda06 commit 6c5c83a
Show file tree
Hide file tree
Showing 53 changed files with 6 additions and 10,959 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ log/**
!log/placeholder
/static/**
**/static/media/**

/staticfiles/
61 changes: 0 additions & 61 deletions mhbank/migrations/0030_auto_20200523_1928.py

This file was deleted.

37 changes: 2 additions & 35 deletions mhbank/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ class Question(models.Model):
source = models.ForeignKey(Source, blank=True, null=True, on_delete=models.CASCADE)
question_maker = models.ForeignKey(Account, on_delete=models.CASCADE)
text = models.CharField(max_length=3000)
#answer = models.CharField(max_length=3000, null=True, blank=True)
#lots of answer
answer = models.CharField(max_length=3000, null=True, blank=True)
#guidance = models.CharField(max_length=1000)
publish_date = models.DateTimeField('date published')
change_date = models.DateTimeField('date changed', null=True)
# themed_qs
Expand All @@ -90,39 +90,6 @@ class Hardness(models.Model):
def __str__(self):
return str(self.level)

class Answer(models.Model):
question = models.ForeignKey(Question, on_delete=models.CASCADE)
text = models.CharField(max_length=3000)
#guidances

#comments
#is it original?(not student writen)
#likes
#teaches

class Guidance(models.Model):
question = models.ForeignKey(Question, on_delete=models.CASCADE)
answer = models.ForeignKey(Answer, on_delete=models.CASCADE, null=True)
text = models.CharField(max_length=1000)

class Teach_box(models.Model):
question = models.ForeignKey(Question, on_delete=models.CASCADE)
answer = models.ForeignKey(Answer, on_delete=models.CASCADE, null=True)
goal = models.CharField(max_length=1000)
expectations = models.CharField(max_length=1000)
#notes
time = models.TimeField(null=True)
generalـprocess = models.CharField(max_length=3000)
#change date

class Note(models.Model):
question = models.ForeignKey(Question, on_delete=models.CASCADE)
teach_box = models.ForeignKey(Teach_box, on_delete=models.CASCADE, null=True)
text = models.CharField(max_length=1000)
writer = models.ForeignKey(Account, on_delete=models.CASCADE)
#change date


class Attempt(models.Model):
account = models.ForeignKey(Account, on_delete=models.CASCADE)
question = models.ForeignKey(Question, on_delete=models.CASCADE)
Expand Down
Binary file removed mhbank/static/favicon/android-chrome-192x192.png
Binary file not shown.
Binary file removed mhbank/static/favicon/android-chrome-384x384.png
Binary file not shown.
Binary file removed mhbank/static/favicon/apple-touch-icon.png
Binary file not shown.
9 changes: 0 additions & 9 deletions mhbank/static/favicon/browserconfig.xml

This file was deleted.

Binary file removed mhbank/static/favicon/favicon-16x16.png
Binary file not shown.
Binary file removed mhbank/static/favicon/favicon-32x32.png
Binary file not shown.
Binary file removed mhbank/static/favicon/favicon.ico
Binary file not shown.
Binary file removed mhbank/static/favicon/mstile-150x150.png
Binary file not shown.
43 changes: 0 additions & 43 deletions mhbank/static/favicon/safari-pinned-tab.svg

This file was deleted.

19 changes: 0 additions & 19 deletions mhbank/static/favicon/site.webmanifest

This file was deleted.

12 changes: 0 additions & 12 deletions mhbank/static/fonts/dima_abdo/DimaAbdo.css

This file was deleted.

Binary file removed mhbank/static/fonts/dima_abdo/DimaAbdo.woff
Binary file not shown.
12 changes: 0 additions & 12 deletions mhbank/static/fonts/dima_barf/DimaBarf.css

This file was deleted.

Binary file removed mhbank/static/fonts/dima_barf/DimaBarf.woff
Binary file not shown.
12 changes: 0 additions & 12 deletions mhbank/static/fonts/dima_fantasy_2/DimaFantasy2.css

This file was deleted.

Binary file removed mhbank/static/fonts/dima_fantasy_2/DimaFantasy2.woff
Binary file not shown.
12 changes: 0 additions & 12 deletions mhbank/static/fonts/dima_platinum/DimaPlatinum.css

This file was deleted.

Binary file removed mhbank/static/fonts/dima_platinum/DimaPlatinum.woff
Binary file not shown.
12 changes: 0 additions & 12 deletions mhbank/static/fonts/dima_sogand/DimaSogand.css

This file was deleted.

Binary file removed mhbank/static/fonts/dima_sogand/DimaSogand.woff
Binary file not shown.
76 changes: 0 additions & 76 deletions mhbank/static/fonts/iranyekan/iranyekan.css

This file was deleted.

Binary file removed mhbank/static/images/aparat_logo.png
Binary file not shown.
Binary file removed mhbank/static/images/logo.png
Binary file not shown.
10 changes: 0 additions & 10 deletions mhbank/static/scripts/base.js

This file was deleted.

7 changes: 0 additions & 7 deletions mhbank/static/scripts/bootstrap.min.js

This file was deleted.

2 changes: 0 additions & 2 deletions mhbank/static/scripts/jquery-3.4.1.min.js

This file was deleted.

Loading

0 comments on commit 6c5c83a

Please sign in to comment.