Giter Club home page Giter Club logo

jobic10 / e-voting-with-django Goto Github PK

View Code? Open in Web Editor NEW
153.0 4.0 57.0 18.74 MB

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.

License: MIT License

Python 100.00%
django python python-3 django-project voting e-voting otp sms-gateway

e-voting-with-django's Introduction

Hi, I'm Job.

Github Linkedin Instagram Twitter Medium Gmail

About Me

  • Data Structure and Algorithms
  • Web Development (Django)
  • Mobile Development (Flutter)
  • AI et ML (In view)
  • Academic Researcher

Educational Background

Currently, I am building a massive project for the company I currently work for. You can check my repo for more pending or completed projects.

Github

  • 👯 I’m looking to collaborate on open source projects
  • 💬 Ask me about anything and everything
  • 📫 How to reach me: [email protected]

Skills


  • Languages - PHP, Dart and Python
  • Libraries/Frameworks: - Flutter and Django
  • Databases/ODM: - MySQL
  • Tools: - CLI, Git, Github and Developer Tool

Languages and Tools:


Github Profile Trophy

trophy

My Github Stats

Github Streak

GitHub Streak

Github Stats

Contribution

e-voting-with-django's People

Contributors

arose114 avatar hekarket avatar jobic10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

e-voting-with-django's Issues

Django renderpdf Error

This is the error shown after running the "pip3 install -r requirements.txt"
ERROR: Could not find a version that satisfies the requirement django-renderpdf2==3.0.1 (from versions: none)
ERROR: No matching distribution found for django-renderpdf2==3.0.1

Static files not getting displayed when backend server is started

Hi jobic,

I found your project interesting and wanted to contribute to it
But when I cloned it on my machine and started running your project, so there is an issue that it's not displaying the frontend resources

Also for the reference I have attached an image below
Screenshot (146)

makemigrations

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…

please give the solution of this issues

return ffi.dlopen(names[0]) # pragma: no cover
File "C:\Users\Dell\AppData\Local\Programs\Python\Python310\lib\site-packages\cffi\api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "C:\Users\Dell\AppData\Local\Programs\Python\Python310\lib\site-packages\cffi\api.py", line 832, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "C:\Users\Dell\AppData\Local\Programs\Python\Python310\lib\site-packages\cffi\api.py", line 827, in _load_backend_lib
raise OSError(msg)
OSError: cannot load library 'gobject-2.0-0': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'gobject-2.0-0'

Version compatibility issue with sqlite3 in Linux CentOS-7 even after installing the Sqlite-3.9.2

(evoting-venv3.8) [root@ip-172-31-84-84 e-voting-with-django]# python3.8 manage.py makemigrations
Traceback (most recent call last):
File "manage.py", line 22, in
main()
File "manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/core/management/init.py", line 401, in execute_from_command_line
utility.execute()
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/core/management/init.py", line 377, in execute
django.setup()
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/apps/registry.py", line 114, in populate
app_config.import_models()
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/apps/config.py", line 211, in import_models
self.models_module = import_module(models_module_name)
File "/usr/lib64/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/contrib/auth/models.py", line 2, in
from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/contrib/auth/base_user.py", line 48, in
class AbstractBaseUser(models.Model):
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/db/models/base.py", line 122, in new
new_class.add_to_class('_meta', Options(meta, app_label))
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/db/models/base.py", line 326, in add_to_class
value.contribute_to_class(cls, name)
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/db/models/options.py", line 206, in contribute_to_class
self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/db/init.py", line 28, in getattr
return getattr(connections[DEFAULT_DB_ALIAS], item)
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/db/utils.py", line 214, in getitem
backend = load_backend(db['ENGINE'])
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/db/utils.py", line 111, in load_backend
return import_module('%s.base' % backend_name)
File "/usr/lib64/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/db/backends/sqlite3/base.py", line 70, in
check_sqlite_version()
File "/root/e-voting-main/evoting-venv3.8/lib64/python3.8/site-packages/django/db/backends/sqlite3/base.py", line 67, in check_sqlite_version
raise ImproperlyConfigured('SQLite 3.8.3 or later is required (found %s).' % Database.sqlite_version)
django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17).
(evoting-venv3.8) [root@ip-172-31-84-84 e-voting-with-django]# ls -l | grep sqlite
-rw-r--r-- 1 root root 0 Jul 25 19:03 db.sqlite3

OSError: cannot load library 'gobject-2.0-0'

Traceback (most recent call last):
File "C:\Users\yashm\Downloads\e-voting-with-django-main\e-voting-with-django-main\manage.py", line 24, in
main()
File "C:\Users\yashm\Downloads\e-voting-with-django-main\e-voting-with-django-main\manage.py", line 20, in main
execute_from_command_line(sys.argv)
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\core\management_init_.py", line 446, in execute_from_command_line
utility.execute()
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\core\management_init_.py", line 440, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\core\management\base.py", line 402, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\core\management\base.py", line 443, in execute
self.check()
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\core\management\base.py", line 475, in check
all_issues = checks.run_checks(
^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\core\checks\registry.py", line 88, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\core\checks\urls.py", line 14, in check_url_config
return check_resolver(resolver)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\core\checks\urls.py", line 24, in check_resolver
return check_method()
^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\urls\resolvers.py", line 494, in check
for pattern in self.url_patterns:
^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\utils\functional.py", line 57, in get
res = instance.dict[self.name] = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\urls\resolvers.py", line 715, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\utils\functional.py", line 57, in get
res = instance.dict[self.name] = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\urls\resolvers.py", line 708, in urlconf_module
return import_module(self.urlconf_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\importlib_init_.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\yashm\Downloads\e-voting-with-django-main\e-voting-with-django-main\e_voting\urls.py", line 25, in
path('administrator/', include('administrator.urls')),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django\urls\conf.py", line 38, in include
urlconf_module = import_module(urlconf_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\importlib_init
.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1206, in _gcd_import
File "", line 1178, in _find_and_load
File "", line 1149, in _find_and_load_unlocked
File "", line 690, in load_unlocked
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Users\yashm\Downloads\e-voting-with-django-main\e-voting-with-django-main\administrator\urls.py", line 2, in
from . import views
File "C:\Users\yashm\Downloads\e-voting-with-django-main\e-voting-with-django-main\administrator\views.py", line 10, in
from django_renderpdf.views import PDFView
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django_renderpdf\views.py", line 10, in
from django_renderpdf import helpers
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\django_renderpdf\helpers.py", line 13, in
from weasyprint import default_url_fetcher
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\weasyprint_init
.py", line 341, in
from .css import preprocess_stylesheet # noqa isort:skip
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\weasyprint\css_init
.py", line 25, in
from . import computed_values, counters, media_queries
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\weasyprint\css\computed_values.py", line 11, in
from ..text.ffi import ffi, pango, units_to_double
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\weasyprint\text\ffi.py", line 428, in
gobject = _dlopen(
^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\weasyprint\text\ffi.py", line 417, in _dlopen
return ffi.dlopen(names[0]) # pragma: no cover
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\cffi\api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\cffi\api.py", line 832, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yashm\AppData\Local\Programs\Python\Python311\Lib\site-packages\cffi\api.py", line 827, in _load_backend_lib
raise OSError(msg)
OSError: cannot load library 'gobject-2.0-0': error 0x7e. Additionally, ctypes.util.find_library() did not manage to locate a library called 'gobject-2.0-0'

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.