Giter Club home page Giter Club logo

Comments (11)

jobic10 avatar jobic10 commented on May 30, 2024 1

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.

from e-voting-with-django.

jobic10 avatar jobic10 commented on May 30, 2024

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

from e-voting-with-django.

CareyOsafo avatar CareyOsafo commented on May 30, 2024

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'

from e-voting-with-django.

CareyOsafo avatar CareyOsafo commented on May 30, 2024

I am still having this issue

from e-voting-with-django.

CareyOsafo avatar CareyOsafo commented on May 30, 2024

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

from e-voting-with-django.

CareyOsafo avatar CareyOsafo commented on May 30, 2024
Screenshot 2023-08-01 at 11 56 28 AM

from e-voting-with-django.

CareyOsafo avatar CareyOsafo commented on May 30, 2024
Screenshot 2023-08-01 at 12 04 20 PM

from e-voting-with-django.

CareyOsafo avatar CareyOsafo commented on May 30, 2024

from e-voting-with-django.

jobic10 avatar jobic10 commented on May 30, 2024
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 💘

from e-voting-with-django.

CareyOsafo avatar CareyOsafo commented on May 30, 2024

from e-voting-with-django.

jobic10 avatar jobic10 commented on May 30, 2024

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.

from e-voting-with-django.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.