Git Product home page Git Product logo

django-school-management-system's Introduction

Django-School-Management-System

This app is meant to be used by school manager to manage their school records:

  • student data
  • staff
  • results and
  • finances.

It currently doesn't allow students/staff to login.

Demo

Demo has stopped working on https://django-school-app.herokuapp.com/ since Heroku has stopped their free version.

username: admin
password: admin123

Usage

Install in a Virtual Environment. Once you have set up a VE, clone this project

git clone https://github.com/adigunsherif/Django-School-Management-System.git

Then

cd Django-School-Management-System

Run

pip install -r requirements.txt #install required packages
python manage.py migrate # run first migration
python manage.py runserver # run the server

Then locate http://172.0.0.1:8000

Admin Login

When you run migrate, a superuser is created.

username: admin
password: admin123

Roadmap

To build a fully fledged open source school management.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Coding Standards

isort .
black .

Test

python manage.py test

License

MIT

Actively under development

django-school-management-system's People

Contributors

adigunsherif avatar ak84349 avatar damianboh avatar dependabot[bot] avatar kariukijoni avatar sanjaypradeep 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-school-management-system's Issues

Need dashboard idea

What do you think should be the admin frontpage content? Do you have a design suggestions?

ModuleNotFoundError: No module named 'celery'

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'

Parent phone number validation required.

image

Expectation,

  1. should accept only number format.
  2. should accept max of 10 digits (thinking aloud as country as IND)

I'm interested to solve this, please assign to me.

Clicking on the "Settings" button leads to exception

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.

In Production

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.

Project Error

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!

Login Functionality for Students

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.

Data is not visible

** 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]

Student list empty

Hi guys, student list view showing nothing, am I missed something? Help needed.

image

Trying to get in touch regarding a security issue

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)

FRONTPAGE AND A DATABASE SETUP

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

Fields Validation in the create student page

My suggestion for the student date admission and parent mobile phone number inputs fields

Student date admission

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

Parent Mobile Number

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."
    )

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.