samarth-p / college-erp Goto Github PK
View Code? Open in Web Editor NEWA college management system built using Django framework. It is designed for interactions between students and teachers. Features include attendance, marks and time table.
A college management system built using Django framework. It is designed for interactions between students and teachers. Features include attendance, marks and time table.
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.
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)
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
hey can you tell me the username and password to access the page.
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?
No issue just thanks. I appreciate you
Can I contribute in it, like add new features or improving UI?
how can i change time(year) in attendance section?
It's show 2018 which i want to change in 2020.
please help
Hi!
I can't find the login to entry the system.
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?
hey can you tell how to change date??plzz help
Can you solve that, I mean the relationship btw student and class is Foreignkey can you change it to ManyToMany relationship.
I got an error in this page
MultipleObjectsReturned at /info/student/CS3A/timetable/
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])
How may ways to add students into that
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.