jobic10 / e-voting-with-django

The Voting System web application using Django is a project that serves as the automated voting system of an organization or school. This system works like the common manual system of election voting system whereas this system must be populated by the list of the positions, candidates, and voters. This system can help a certain organization or school to minimize the voting time duration because aside they can provide the voters an online platform to vote, the system will automatically count the votes for each candidate. The system has 2 sides of the user interface which are the administrator and voters side. The admin user is in charge to populate and manage the data of the system and the voter side which is where the voters will choose their candidate and submit their votes.
MIT License
174 stars 61 forks source link

hi, server run correctly but, when i try to create an account i get this error "no such table: voting_voter" #2

Closed MahmoudBayoumi58 closed 3 years ago

jobic10 commented 3 years ago

Hi Mahmoud! Please run this from your terminal:

  1. First, make migrations python manage.py makemigrations
  2. Then, migrate python manage.py migrate
  3. You can now run your server python manage.py runserver

If there exists further issues, please leave a comment.

MahmoudBayoumi58 commented 3 years ago

I do these instructions but I get same error when I try to login or register an account and it failed to get static files

في الأحد، ١٢ سبتمبر ٢٠٢١ ٣:٢١ ص Owonubi Job Sunday @.***> كتب:

Hi Mahmoud! Please run this from your terminal:

  1. First, make migrations python manage.py makemigrations
  2. Then, migrate python manage.py migrate
  3. You can now run your server python manage.py runserver

If there exists further issues, please leave a comment.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jobic10/e-voting-with-django/issues/2#issuecomment-917524092, or unsubscribe https://github.com/notifications/unsubscribe-auth/APLOZMPMBBX5NSXZYEOH4WTUBP6A7ANCNFSM5D3LGMJA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

jobic10 commented 3 years ago

That's because you've not run the migrations.

jobic10 commented 3 years ago

Delete the sql file (it it already exists) and try running the commands I said initially

MahmoudBayoumi58 commented 3 years ago

i delete database and do instructions and get same errors

On Sun, Sep 12, 2021 at 1:24 PM mahmoud totti @.***> wrote:

[image: 1.PNG][image: 2.PNG][image: 3.PNG][image: 4.PNG]

On Sun, Sep 12, 2021 at 1:04 PM Owonubi Job Sunday < @.***> wrote:

Delete the sql file (it it already exists) and try running the commands I said initially

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jobic10/e-voting-with-django/issues/2#issuecomment-917613446, or unsubscribe https://github.com/notifications/unsubscribe-auth/APLOZMO6ORFEINR3VYTGYGLUBSCNLANCNFSM5D3LGMJA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

MahmoudBayoumi58 commented 3 years ago

1 2 3 4

jobic10 commented 3 years ago

Update your Django version. The required packages are inside the requirements.txt file

MahmoudBayoumi58 commented 3 years ago

really , i have installed all lib from your requirements file

MahmoudBayoumi58 commented 3 years ago

0 all requirements already exists

MahmoudBayoumi58 commented 3 years ago

when i updated Django version i get some warning and get same error that i have explained above

abdallahzahra commented 3 years ago

i have same problem

jobic10 commented 3 years ago

I've made a recent commit, it should fix the bug. Please try again now.

jobic10 commented 3 years ago

Hi Mahmoud! Please run this from your terminal:

  1. First, make migrations python manage.py makemigrations
  2. Then, migrate python manage.py migrate
  3. You can now run your server python manage.py runserver

If there exists further issues, please leave a comment.

Delete the sql file. Then try the quoted commands