Added basic login/ logout functionality.
Login/logout displays properly on all pages.
Most edit views require login.
Forking pages need login.
User profile page, and user can change their password.
Can toggle visibility of learning targets.
All models have visibility setting. Also using **kwargs to filter for visibility in entire_system.
Can toggle visibility of essential understandings. Setting any object private cascades to all related objects.
Made function is_parent_public(), now elements check that parent is public before setting themselves public.
Can toggle visibility of levels and competency areas.
Edit_visibility has 'cascade_public' for subject area, but still weird ordering effect when toggling visibility.
Cascade public seems to work for all elements, ordering issue still there.
Hacks to deal with ordering issue when setting elements public or private. Includes diagnostic print statements and bugfixing work.
Cleaned out some diagnostic code from order_with_respect_to issue.
Inconsistent variable name from refactoring.
Finished filtering for public attribute on entire_system view.
Updating school view to respect 'public' attribute, and refactoring queries out from views, into helper methods.
More refactoring of entire_system view code.
Refactored view and template for individual school view.
Cleaned up subject_area view; all queries in views.py, visibility filter.