Fix issues with repository management on Django 1.4.

Review Request #2903 — Created Feb. 19, 2012 and submitted

Information

Review Board
master

Reviewers

Fix issues with repository management on Django 1.4.

All fields were being shown in the repository form, since Django's
templates changed the class names for field rows to be "field-{name}"
instead of just "{name}". This broke our showing/hiding logic.

Once you update some object in the database, the admin UI expects it can
send a message to the user's session, which requires the
MessagesMiddleware. This is now enabled.

And finally, the "Show SSH Key" was only showing up for existing
repositories, as the block it's in won't show up for new DB entries.
Move this out to a block that is always shown.
Created and updated repositories without problems.

Fields were shown/hidden based on the tool/hosting service selected.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (2aa7cf9)
Loading...