Jim Fenton
891c0e975d
refactor: Move document state help to /doc ( #7206 )
...
* Redirect /help/state/draft/* to /doc/help/state/draft-*
* Adjust document state index to use /doc/help/state for URLs
* Move all state help to /doc. Fixes #3802
* Move state index redirect into urls file.
2024-03-22 15:03:10 -05:00
Robert Sparks
20f427e013
chore: remove unused view ( #6304 )
...
* chore: remove unused view
* chore: deflake
* chore: deflake
2023-09-14 17:10:26 -05:00
Henrik Levkowetz
7b95411f58
The context_instance parameter to render_to_response() and render_to_string() is now deprecated. Fixed this, and generally changed the idiom render_to_response('template.html', {}, RequestContext(request)) to the newer and simpler render(request, 'template.html', {}). About 200 instances.
...
- Legacy-Id: 12637
2017-01-09 21:26:30 +00:00
Henrik Levkowetz
1b50432c42
Removed debug statements.
...
- Legacy-Id: 9411
2015-04-05 19:38:32 +00:00
Henrik Levkowetz
7488adef5b
Fixed a bug in /help/state/ (bad links). Linked additional state labels in the document pages to the state descriptions under /help/state. Renamed a template file to better match its function.
...
- Legacy-Id: 9410
2015-04-05 19:35:31 +00:00
Henrik Levkowetz
5bef5d11ae
Made doc/ pyflakes-clean.
...
- Legacy-Id: 7462
2014-03-15 16:09:47 +00:00
Henrik Levkowetz
254d6f70dd
Removed some debug statements.
...
- Legacy-Id: 6290
2013-09-27 17:32:35 +00:00
Henrik Levkowetz
85e7af3370
Added a development helper page.
...
- Legacy-Id: 6251
2013-09-23 19:27:38 +00:00
Henrik Levkowetz
51284a8871
Added an index page at /help/state, listing the document states that
...
have help information.
- Legacy-Id: 5837
2013-07-17 20:55:35 +00:00
Henrik Levkowetz
2f3476690f
In order that document states (which may be used by old documents) should not need to be removed when state machines change and states go out of use, all document states have a 'used' field. The code which accesses the state fields have not been requiring that used=True for the states returned, which is an error. Fixed this by adding 'used=True' to all State.objects.get() and State.objects.filter() call where it's relevant.
...
- Legacy-Id: 5486
2013-03-05 23:24:41 +00:00
Henrik Levkowetz
fac0d42511
Fixed an import statement that could cause grief.
...
- Legacy-Id: 5474
2013-02-28 15:06:28 +00:00
Henrik Levkowetz
fa93d26c01
Added a set of help pages for document states (at /help/state/<doctype>/<statetype>/).
...
- Legacy-Id: 5467
2013-02-27 22:01:18 +00:00