tables from legacy to new through Django (with minimal cleaning to
have the import go through) and removing migrations from submit and
liaisons as they interfere with the clean slate of the new database,
adjusting IPR model to add null=True on fields with nulls in the
database
- Legacy-Id: 3778
Addresses issue #628, using reverse() and the newly created helper function
reverse_lazy() (found in ietf/utils/lazy.py) to DRY out the code a bit by
decoupling the urls from being hardcoded.
With this commit idrfc, and ipr modules have been modified to take advantage
of the reverse() and reverse_lazy() functions.
- Legacy-Id: 2956
Note: SVN reference [2948] has been migrated to Git commit 9399a2e0e8bbfe5c5a16781fd784776cfa31fbac
* Move update() to new.py
* Get the update submitter in update() and overwrite the ipr submitter with it when updating.
* Remove ? from trailing slash in about - the addslashes middleware will get there first anyway, and the ? confuses reverse()
- Legacy-Id: 705
* Added IPR patent info search term error pages
* Fixed empty holder search template error
* Some refactoring to have one ipr->doc relation instead of both ->drafts and -> rfcs
- Legacy-Id: 687
* Added test cases for this and for addtional empty test results
* Some refactoring of IPR search code
* Fixed bugs in multiple templates for the empty test result case
- Legacy-Id: 685
* Use RequestContext
* Remove a couple of debugging prints that I left in
* Fix parenthesis location in get_ipr_summary() which was causing it to try to concatenate a list and a string
- Legacy-Id: 684
* Allow update to pass in an object to be updated.
* Pass initial values to rfclist, draftlist, 3 ContactForms and IprForm if we have an update.
* Pass **kwargs through ipr_detail_form_callback to get the initial values.
* Add a row in IprUpdate if updating
Cleanups in that apply to both new and update:
* Validate licensing_option in the clean function to allow it to be conditionally required.
* Use a regular character field for date_applied, since it is a prose date in the database.
* Fix typo in title setting: s/general/generic/
* Fix typo in 3rd-party title setting: s/submitter/ietf_name/
* Fix IprRfc object creation
* Log the complete set of field errors
* Move the validation of "one of the document fields must be filled in" to the form clean, since clean_data["draftlist"] isn't available in clean_rfclist()
* Render non_field_errors since now we could have one.
* Move the setting of the summary and title to after the form is cleaned, and use the clean version of the document names.
- Legacy-Id: 683