Giter VIP home page Giter VIP logo

samarth-p / college-erp Goto Github PK

View Code? Open in Web Editor NEW
572.0 25.0 334.0 5.53 MB

A college management system built using Django framework. It is designed for interactions between students and teachers. Features include attendance, marks and time table.

Python 49.23% CSS 0.27% HTML 50.50%
django-project django college-project dbms-project college college-students college-management django-application dbms

college-erp's Introduction

College-ERP

A college management system built using Django framework. It is designed for interactions between students and teachers. Features include attendance, marks and time table.

Installation

Python and Django need to be installed

pip install django

Usage

Go to the College-ERP folder and run

python manage.py runserver

Then go to the browser and enter the url http://127.0.0.1:8000/

Login

The login page is common for students and teachers.
The username is their name and password for everyone is 'project123'.

Example usernames:
student- 'samarth'
teacher- 'trisila'

You can access the django admin page at http://127.0.0.1:8000/admin and login with username 'admin' and the above password.

Also a new admin user can be created using

python manage.py createsuperuser

Users

New students and teachers can be added through the admin page. A new user needs to be created for each.

The admin page is used to modify all tables such as Students, Teachers, Departments, Courses, Classes etc.

For more details regarding the system and features please refer the reports included.

Update (29/11/2020)

Added method to reset attendance time range in Django Admin page.

alt_text

This is present in Django Admin -> Attendance (http://127.0.0.1:8000/admin/info/attendanceclass/).
Start Date: Start Date of Attendance period
End Date: End Date of Attendance period

This will delete all present attendance data and create new attendance objects for the given time range.

Screenshots

Teacher Page

alt text

alt text

alt text

alt text

alt text

alt text

alt text

Student Page

alt text

alt text

alt text

alt text

alt text

Admin Page

alt text

alt text

alt text

college-erp's People

Contributors

anjan112 avatar manpreetrathore avatar samarth-p avatar vikaskbm 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

college-erp's Issues

No Issue.

No issue just thanks. I appreciate you

Admin page login loop

loop.mp4

The admin page seems to loop back to the logout page in spite of logging in (This happened when I clicked on the visit page link)

APIs aren't implemented yet.

As i can see APIs aren't implemented yet which can be a great add on and then you can easily use the same backend in future when you make mobile or other apps. @samarth-p

Adding new feature and resolving the issue in student login

Hello @samarth-p

Can I contribute to this project by adding new feature and fixing the issue in the current project like:
Addition of missing libraries to the document section
To resolve the issue in the student login
Improved and more user-friendly interface implementation
Addition of “Forgot Password” feature in the login section

May I work on this, if you don't mind?

regarding time change

how can i change time(year) in attendance section?
It's show 2018 which i want to change in 2020.
please help

Issue in student - Timetable page

I got an error in this page
MultipleObjectsReturned at /info/student/CS3A/timetable/

Kindly help me to fix this issue

Request Method: GET
http://127.0.0.1:8000/info/student/CS3A/timetable/
2.2.6
MultipleObjectsReturned
get() returned more than one AssignTime -- it returned 2!
C:\Program Files\Anaconda3\lib\site-packages\django\db\models\query.py in get, line 412
C:\Program Files\Anaconda3\python.exe
3.6.0
['E:\SVN\Python\SourceCode\SAU-ERP', 'C:\Program Files\Anaconda3\python36.zip', 'C:\Program Files\Anaconda3\DLLs', 'C:\Program Files\Anaconda3\lib', 'C:\Program Files\Anaconda3', 'C:\Users\zakee\AppData\Roaming\Python\Python36\site-packages', 'C:\Program Files\Anaconda3\lib\site-packages', 'C:\Program Files\Anaconda3\lib\site-packages\Sphinx-1.5.1-py3.6.egg', 'C:\Program Files\Anaconda3\lib\site-packages\win32', 'C:\Program Files\Anaconda3\lib\site-packages\win32\lib', 'C:\Program Files\Anaconda3\lib\site-packages\Pythonwin', 'C:\Program ' 'Files\Anaconda3\lib\site-packages\setuptools-27.2.0-py3.6.egg']
Sat, 9 Nov 2019 02:44:19 +0000

for j in range(12):
if j == 0:
matrix[i][0] = d[0]
continue
if j == 4 or j == 8:
continue
try:
a = asst.get(period=time_slots[t][0], day=d[0])

matrix[i][j] = a.assign.course_id
except AssignTime.DoesNotExist:
pass
t += 1

context = {'matrix': matrix}

error in this python file, info\views.py in timetable
line number 219,

a = asst.get(period=time_slots[t][0], day=d[0])

error1
error2

Creating instances from Webpage instead of Admin Panel

Right now, to add a new teacher, student, class, dept etc. Superuser has to login to the admin panel each time and perform the task from there.
There should be functionality to do that from web pages instead as admin panel has more power and allows for a lot more freedom which may accidentally result in modifying instances.

It is not issue but a request

You have done great work. but I would appreciate if you can make dynamic time period in here

def create_attendance(sender, instance, **kwargs):
    if kwargs['created']:
        start_date = instance.assign.start                    #date(2018, 8, 1)   
        end_date = instance.assign.end                        #date(2018, 11, 30)
        for single_date in daterange(start_date, end_date):
            if single_date.isoweekday() == days[instance.day]:
                try:
                    a = AttendanceClass.objects.get(date=single_date.strftime("%Y-%m-%d"), assign=instance.assign)
                except AttendanceClass.DoesNotExist:
                    a = AttendanceClass(date=single_date.strftime("%Y-%m-%d"), assign=instance.assign)
                    a.save()

I add two more columns in Assign table.

class Assign(models.Model):
    class_id = models.ForeignKey(Class, on_delete=models.CASCADE)
    course = models.ForeignKey(Course, on_delete=models.CASCADE)
    teacher = models.ForeignKey(Teacher, on_delete=models.CASCADE)

    #new added columns 
    start = models.DateField(null=True)
    end = models.DateField(null=True)

Then Instead of this

start_date = date(2018, 8, 1)

end_date = date(2018, 11, 30)

I did this something like this

start_date = instance.assign.start

end_date = instance.assign.end

but wen you create assign the attendance class time will show only one month.

can you solve this?

Login

Hi!
I can't find the login to entry the system.

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.