Commit Graph

54 Commits

Author SHA1 Message Date
3e5b41de1d Reorder all imports 2019-08-20 00:10:20 +02:00
e3e3f6d5db Run black over entire codebase 2019-08-19 23:55:53 +02:00
58b18dd815 Run latest migrations 2019-04-07 17:05:09 +01:00
6e34abda84 Add migrations for form changes 2019-04-07 16:30:57 +01:00
dc84e1a09a Amend 'Solar power tower' label 2019-03-21 19:25:59 +00:00
f8d4cfe755 Save the form type (long, short) with the case study 2019-03-04 20:41:15 +00:00
0c594487a9 Add language field to case studies 2019-03-04 20:17:06 +00:00
5e49de16d0 Remove unused fields 2018-12-02 02:23:58 +00:00
b7b07aa180 Add DELETE markers for fields to be nuked 2018-12-02 02:10:35 +00:00
5c7d4005f0 Add migration 2018-12-02 00:31:04 +00:00
Carl van Tonder
f962a7e0fa Fix remove_null_from_text_fields migration 2018-11-20 12:59:28 -05:00
69e518240c Add point of interest model 2018-10-12 18:50:27 -04:00
3dccff6eea Remove offending field that was stopping migration working 2018-10-09 21:10:27 -04:00
190f63abf8 Attempt a different migration to remove null from text fields 2018-10-05 09:29:24 -04:00
ff445e166d Text fields shouldn't have null=True. (#94) 2018-09-22 19:09:05 +01:00
Carl van Tonder
d80f933b7b Add CaseStudyDraft.created 2018-05-29 23:16:51 -04:00
Carl van Tonder
39949562c1 Use multi-file upload for "images" field
Closes #62
2018-05-29 23:16:51 -04:00
Carl van Tonder
8a8eccaeaa Make "land ownership details" visible always
Closes #71
2018-05-26 11:36:44 -04:00
Carl van Tonder
006262c7ea Lengthen "key actors" and "who..involved" fields 2018-05-24 20:52:43 -04:00
Carl van Tonder
f595532db5 Fix migrations 2018-05-24 18:24:55 -04:00
b375de115e Fix bad validation rules 2018-05-23 19:15:30 +02:00
Carl van Tonder
a1821dba58 Fix migrations 2018-05-19 14:01:43 -04:00
Carl van Tonder
8d2532a1b2 Convert some CharFields to TextFields 2018-05-19 13:53:34 -04:00
03e5bfe01b Extend the length of some charfields, per Tom's email 2018-05-15 15:03:57 +01:00
Carl van Tonder
8ddc0894a1 Clean-up migration 2018-04-30 22:23:45 -04:00
Carl van Tonder
935af1355b Further work on multi-file-upload 2018-04-23 01:15:33 -04:00
Carl van Tonder
bb326bfed8 Initial file uploding w/ new "files" app 2018-04-19 15:57:18 -04:00
Carl van Tonder
816bc7f13d Add missing migration 2018-04-19 12:57:53 -04:00
677f6a85a9 Add coordinates autocomplete widget & data (#32)
Just tweaks based on what Carl had already written in dce53630 and b97d421a
2018-04-16 14:27:13 +10:00
08bb577e37 Add form drafts API (#52) 2018-04-14 13:09:56 +10:00
3d479471cc Make migrations for previous changes 2018-04-14 12:41:44 +10:00
Carl van Tonder
316f2cb78a Make power grid / energy storage Qs optional
approximate_total_investment & contractor_or_supplier_of_technology
should both be optional for non-"power grid / energy storage" types
2018-04-04 18:15:51 -04:00
Carl van Tonder
490e6706d9 Revert "Autocomplete from GIS list of CRSs.."
This reverts commit dce53630f7.
2018-04-04 18:02:33 -04:00
Carl van Tonder
dce53630f7 Autocomplete from GIS list of CRSs..
..using django-autocomplete-light, in both the admin area and the
end-user form

Closes #32
2018-04-04 15:28:08 -04:00
1847b22c09 f 2018-04-02 22:38:09 +10:00
e4f4a5e73b Add non-indigenous people list, as per client request 2018-03-31 22:38:30 +11:00
b2266600de Add banks list. Closes #23. 2018-03-31 21:00:43 +11:00
a5011674f8 Fix type of ecosystem field after messing it up in 9d5daf4e. 2018-03-31 17:23:22 +11:00
5f2941d205 Allow Vimeo as well as YouTube URLs. Closes #26. 2018-03-31 17:18:35 +11:00
0f0f78bd24 Fix wording of 4.4. Closes #33 2018-03-31 16:33:35 +11:00
4147dc7d32 Add contact fields. Closes #30. 2018-03-31 16:29:25 +11:00
5bf1855974 Add migration script for previous two changes (clsoes #48) 2018-03-29 21:51:13 +11:00
5339eef30d Provide a default for shown_on_other_platforms now it's now nullable 2018-03-28 22:34:36 +11:00
8b0f2f9dee Complete showing all data on case study view, closes #7 2018-03-28 17:28:57 +11:00
b8eecb0660 Fix bugs in model 2018-03-28 17:26:40 +11:00
946ec52119 Fix 1.2.1 to be a single choice instead of three (#43) 2018-03-28 13:21:18 +11:00
cb21daca5b Allow more fields in the case study to be blank 2018-03-27 17:42:18 +11:00
Carl van Tonder
63a52a1f7f Replace django-moderation with CaseStudy.visible 2018-03-27 00:14:01 -04:00
a4281edc4a Switch NullBooleanFields to BooleanFields, add conditional display of last question 2018-03-26 13:42:14 +11:00
Livvy Mackintosh
63992802b9 Update new migrations and add bootstrap and leaflet-hash.js 2017-11-18 16:56:09 +00:00