I added javascript to base_template.djt that creates a cookies. This cookie
will be used in the information modification viees.
I changed the default ajax response in include an error message.
I changed the create_navlinks function to take a user object instead of
the whole request object
changed user to request.user in login view, fixing un initalized variable bug

Signed-off-by: Gregory Klupar <Klupamos@gmail.com>
removed firefighter/views.py and refactored them into multiple files in the new folder tree

- views
-- presentation
-- ajax

Signed-off-by: Gregory Klupar <Klupamos@gmail.com>
Merge branch 'Working_model_branch' of github.com:Klupamos/Firefighter_certification_management_system into views_n_templates
Linked in a jQuery CDN into the base template, and fixed a syntax blemish in the login template

Signed-off-by: Gregory Klupar <Klupamos@gmail.com>
Included the candidate app in the fire_fighters_site settings.
Created relationships between the database tables.
Resynced db.sqlite3
fixed a few speelling mistakes

Signed-off-by: Gregory Klupar <Klupamos@gmail.com>
rearanged some of the foreign keys, and gave them related names to all relations

Signed-off-by: Gregory Klupar <Klupamos@gmail.com>
Continued messing with the candidate models. Added a few more fields, fixed the earned_certification, and earned_requirement tables in include completion dates.
Added some basic HTML form generation classes.

Signed-off-by: Gregory Klupar <Klupamos@gmail.com>
Merge branch 'Working_model_branch' into views_n_templates
merged Working_model_branch into views_n_templates.
used the models in the login view as a proof of concept

Signed-off-by: Gregory Klupar <Klupamos@gmail.com>
Added a config file (crete_config_file probaly not needed any more)
Attpempt to merge branches....
Merge remote-tracking branch 'remotes/origin/Working_model_branch' into Config_file
just tidying things up

Signed-off-by: Gregory Klupar <Klupamos@gmail.com>
Tried to add a custom 'User' model fo authorization. Curently am getting a model not installed error, but robert, want me to commit so he could look at it

Signed-off-by: Gregory Klupar <Klupamos@gmail.com>
Fixed the 'app not installed' error.
Recreated the databse with the new candidate model, and created the 'demo' => 'demo' account.

Signed-off-by: Gregory Klupar <Klupamos@gmail.com>
Merge branch 'Config_file' into views_n_templates


Signed-off-by: Gregory Klupar <Klupamos@gmail.com>
changed the views.helper to create navlinks bassed of permissions, reather then hard coded.
fixed the Login, and CandidateRegistration views.
	Login will now check for correct credential, and log the user in.
	CandidateRegistration will create a new candidate record in the database.

Signed-off-by: Gregory Klupar <Klupamos@gmail.com>
updated config file
Fixed spelling errors, and populated the 'URLs' object in the config file

Signed-off-by: Gregory Klupar <Klupamos@gmail.com>