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

makemigrations #15

Closed CareyOsafo closed 1 year ago

CareyOsafo commented 1 year ago

I contacted you earlier this week about an issue I was facing with your system. Below is a screenshot of the issue ![Uploading Screenshot 2023-07-25 at 10.35.58 AM (2).png…]()

jobic10 commented 1 year ago

Kindly provide steps to reproduce, attach screenshots also. The attached link appears to be broken.

CareyOsafo commented 1 year ago

when trying to makemigrations it also gave this error:

Traceback (most recent call last): File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv self.execute(*args, **cmd_options) File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/core/management/base.py", line 453, in execute self.check() File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/core/management/base.py", line 485, in check all_issues = checks.run_checks( ^^^^^^^^^^^^^^^^^^ File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/core/checks/registry.py", line 88, in run_checks new_errors = check(app_configs=app_configs, databases=databases) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/core/checks/templates.py", line 55, in check_for_template_tags_with_the_same_name for conf in settings.TEMPLATES: ^^^^^^^^^^^^^^^^^^ File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/conf/init.py", line 102, in getattr self._setup(name) File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/conf/init.py", line 89, in _setup self._wrapped = Settings(settings_module) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/conf/init.py", line 217, in init mod = importlib.import_module(self.SETTINGS_MODULE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1140, in _find_and_load_unlocked ModuleNotFoundError: No module named 'settings'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/eddieosafo/e-voting-with-django/manage.py", line 23, in main() File "/Users/eddieosafo/e-voting-with-django/manage.py", line 19, in main execute_from_command_line(sys.argv) File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/core/management/init.py", line 442, in execute_from_command_line utility.execute() File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/core/management/init.py", line 436, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/core/management/base.py", line 425, in run_from_argv connections.close_all() File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/utils/connection.py", line 84, in close_all for conn in self.all(initialized_only=True): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/utils/connection.py", line 76, in all return [ ^ File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/utils/connection.py", line 73, in iter return iter(self.settings) ^^^^^^^^^^^^^ File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/utils/functional.py", line 57, in get res = instance.dict[self.name] = self.func(instance) ^^^^^^^^^^^^^^^^^^^ File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/utils/connection.py", line 45, in settings self._settings = self.configure_settings(self._settings) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/db/utils.py", line 148, in configure_settings databases = super().configure_settings(databases) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/utils/connection.py", line 50, in configure_settings settings = getattr(django_settings, self.settings_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/conf/init.py", line 102, in getattr self._setup(name) File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/conf/init.py", line 89, in _setup self._wrapped = Settings(settings_module) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/eddieosafo/e-voting-with-django/venv/lib/python3.11/site-packages/django/conf/init.py", line 217, in init mod = importlib.import_module(self.SETTINGS_MODULE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1140, in _find_and_load_unlocked ModuleNotFoundError: No module named 'settings'

jobic10 commented 1 year ago

Kindly confirm the Django version you have installed.

Ensure all packages are installed and give it a try. Let's know if you are having further issues.

CareyOsafo commented 1 year ago

I am still having this issue

CareyOsafo commented 1 year ago

Would it be possible for me to arrange an online meeting so you could help me resolve this issue

CareyOsafo commented 1 year ago
Screenshot 2023-08-01 at 11 56 28 AM
CareyOsafo commented 1 year ago
Screenshot 2023-08-01 at 12 04 20 PM
CareyOsafo commented 1 year ago

I have done that and uploaded it onto the git repository

On Tue, 1 Aug 2023, 11:32 am Job Sunday Owonubi, @.***> wrote:

Kindly confirm the Django version you have installed.

Ensure all packages are installed and give it a try. Let's know if you are having further issues.

— Reply to this email directly, view it on GitHub https://github.com/jobic10/e-voting-with-django/issues/15#issuecomment-1660130805, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATL6A2XEO24PDRO7J7U6DM3XTDSOFANCNFSM6AAAAAA23J4LN4 . You are receiving this because you authored the thread.Message ID: @.***>

jobic10 commented 1 year ago
Screenshot 2023-08-01 at 12 04 20 PM

pip install django_renderpdf Kindly go through the closed issues on this repo. I am sure you'll find solution. Apologies for the stress 💘

CareyOsafo commented 1 year ago

Is there a way to run this without running the makemigrations command?

On Tue, 1 Aug 2023, 12:11 pm Job Sunday Owonubi, @.***> wrote:

[image: Screenshot 2023-08-01 at 12 04 20 PM] https://user-images.githubusercontent.com/81256554/257508414-b615335d-ba5c-43a9-a638-f72a921b5c13.png

pip install django_renderpdf Kindly go through the closed issues on this repo. I am sure you'll find solution. Apologies for the stress 💘

— Reply to this email directly, view it on GitHub https://github.com/jobic10/e-voting-with-django/issues/15#issuecomment-1660189319, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATL6A2SOSALOU5N3N57KT3LXTDW7PANCNFSM6AAAAAA23J4LN4 . You are receiving this because you authored the thread.Message ID: @.***>

jobic10 commented 1 year ago

You'll need to migrate and runserver. Are you still having some challenges? Share it here, so others might find a fix when they experience similar thing.