adigunsherif / django-school-management-system Goto Github PK
View Code? Open in Web Editor NEWSchool Management System based on Django framework.
License: MIT License
School Management System based on Django framework.
License: MIT License
What do you think should be the admin frontpage content? Do you have a design suggestions?
I have run pipenv install
, copied the .env.example to ./env under config directory. Installed and run redis. I have tried to install celery to resolve the error: pip --user install celery
. Still occurring.
python manage.py migrate
Traceback (most recent call last):
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/core/management/base.py", line 373, in run_from_argv
self.execute(*args, **cmd_options)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/core/management/base.py", line 417, in execute
output = self.handle(*args, **options)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/core/management/base.py", line 87, in wrapped
saved_locale = translation.get_language()
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/utils/translation/__init__.py", line 182, in get_language
return _trans.get_language()
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/utils/translation/__init__.py", line 50, in __getattr__
if settings.USE_I18N:
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/conf/__init__.py", line 84, in __getattr__
self._setup(name)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/conf/__init__.py", line 71, in _setup
self._wrapped = Settings(settings_module)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/conf/__init__.py", line 179, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/imparante/Documents/GitHub/Django-School-Management/config/__init__.py", line 1, in <module>
from .celery import app as celery_app
File "/Users/imparante/Documents/GitHub/Django-School-Management/config/celery.py", line 3, in <module>
from celery import Celery
ModuleNotFoundError: No module named 'celery'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/imparante/Documents/GitHub/Django-School-Management/manage.py", line 21, in <module>
main()
File "/Users/imparante/Documents/GitHub/Django-School-Management/manage.py", line 17, in main
execute_from_command_line(sys.argv)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/core/management/__init__.py", line 425, in execute_from_command_line
utility.execute()
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/core/management/__init__.py", line 419, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/core/management/base.py", line 386, in run_from_argv
connections.close_all()
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/db/utils.py", line 208, in close_all
for alias in self:
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/utils/connection.py", line 73, in __iter__
return iter(self.settings)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/utils/functional.py", line 48, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/utils/connection.py", line 45, in settings
self._settings = self.configure_settings(self._settings)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/db/utils.py", line 144, in configure_settings
databases = super().configure_settings(databases)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/utils/connection.py", line 50, in configure_settings
settings = getattr(django_settings, self.settings_name)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/conf/__init__.py", line 84, in __getattr__
self._setup(name)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/conf/__init__.py", line 71, in _setup
self._wrapped = Settings(settings_module)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/site-packages/django/conf/__init__.py", line 179, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/Users/imparante/.pyenv/versions/3.9.7/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/Users/imparante/Documents/GitHub/Django-School-Management/config/__init__.py", line 1, in <module>
from .celery import app as celery_app
File "/Users/imparante/Documents/GitHub/Django-School-Management/config/celery.py", line 3, in <module>
from celery import Celery
ModuleNotFoundError: No module named 'celery'
hi guys, so i used this project at my school but the lecturer said it needed a frontend what i mean is at school there is always a backend where the lecturer inputs the marks or data and the frontpage where the students can only see there marks with no access to alter it..so is it possible to add a frontend??? because to me this seems like a backend..kindly get back to me ..i need assistance my due date is almost near
My suggestion for the student date admission and parent mobile phone number inputs fields
Before
def get_form(self):
"""add date picker in forms"""
form = super(StudentCreateView, self).get_form()
form.fields["date_of_birth"].widget = widgets.DateInput(attrs={"type": "date"})
form.fields["address"].widget = widgets.Textarea(attrs={"rows": 2})
form.fields["others"].widget = widgets.Textarea(attrs={"rows": 2})
return form
After
def get_form(self):
"""add date picker in forms"""
form = super(StudentCreateView, self).get_form()
form.fields["date_of_birth"].widget = widgets.DateInput(attrs={"type": "date"})
form.fields["date_of_admission"].widget = widgets.DateInput(
attrs={"type": "date"}
)
form.fields["address"].widget = widgets.Textarea(attrs={"rows": 2})
form.fields["others"].widget = widgets.Textarea(attrs={"rows": 2})
return form
Before
parent_mobile_number = models.CharField(
validators=[mobile_num_regex], max_length=13, blank=True
)
After
parent_mobile_number = models.CharField(
validators=[mobile_num_regex], max_length=13, blank=True, help_text="mobile number must be entered in the format: '08012345678'. Up to 15 digits allowed."
)
We need to specify the design for each user story :
1 - student
2 - teacher
3 - management
Hi, After clone this project, run python manage.py migrate
, then mistake:django.core.exceptions.ImproperlyConfigured: Cannot import 'staffs'. Check that 'apps.staffs.apps.StaffsConfig.name' is correct.
I haven't changed anything!
Clicking on Settings from the webapp throws a ValueError:
The view apps.corecode.views.SiteConfigView didn't return an HttpResponse object. It returned None instead.
My guess is that the renderer never gets returned from some function in the SiteConfigView, but I don't know enough Django to know for sure.
apps/corecode/views.py
line 257...//
form = self.form_Class(request.POST) -> form = self.form_class(request.POST)
Hey there!
I'd like to report a security issue but cannot find contact instructions on your repository.
If not a hassle, might you kindly add a SECURITY.md
file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.
Thank you for your consideration, and I look forward to hearing from you!
(cc @huntr-helper)
hey dear, I would like to contribute to this app to add some features like a login portal for students to see the important notice attendance and all. If possible ping me back. We can make it as full fledged web application for school management system.
** Hey, student data is not visible\displayed after adding the new student manually as well as using CSV file but also able to process those data while making the invoice..**
Kindly Revert as soon as possible..
[email protected]
Do you use this application in production? Please comment below and let us know your use case and experience so far. This will assist me in knowing where to improve this app.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.