Closed MahmoudBayoumi58 closed 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:
- First, make migrations python manage.py makemigrations
- Then, migrate python manage.py migrate
- 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.
That's because you've not run the migrations.
Delete the sql file (it it already exists) and try running the commands I said initially
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.
Update your Django version. The required packages are inside the requirements.txt file
really , i have installed all lib from your requirements file
all requirements already exists
when i updated Django version i get some warning and get same error that i have explained above
i have same problem
I've made a recent commit, it should fix the bug. Please try again now.
Hi Mahmoud! Please run this from your terminal:
- First, make migrations
python manage.py makemigrations
- Then, migrate
python manage.py migrate
- 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
Hi Mahmoud! Please run this from your terminal:
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
If there exists further issues, please leave a comment.