Commit 22364845 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

changed pluralization in models, added info in readme

parent 3bcee508
......@@ -73,6 +73,7 @@ To-do
* moving over to mysql
* scraping of for the database (this also means that with a single command everyone can be working on the same database :3)
* autocomplete js for the course name field (after a user puts in the department abbreviation and the course name (note unlike bookshare this information needn't be editable)
* map "Second Semester Junior" and the like to numbers for the graduation feature
**Pipe Dreams**
......@@ -115,6 +115,10 @@ class Trajectory(BaseModel):
# of a list, not one created for each and every semester
semester = models.IntegerField()
class Meta:
ordering = ('name',)
verbose_name_plural = "trajectories"
def get_absolute_url(self):
return 'my-trajectories/%s/' % self.slug
from django.shortcuts import render, render_to_response
from trajectories.models import Course, Trajectory, Student
from trajectories.models import Course, CourseCollection, Program, Student, Trajectory
from django.db.models import Max
# other functions
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment