Commit graph

133 commits

Author SHA1 Message Date
Schuyler Erle
b4909e161c Return is_primary to True if removing a "conflates" relation. 2011-09-01 03:43:06 -07:00
Schuyler Erle
171caadf0d find() returns only records with is_primary=True. 2011-09-01 03:18:13 -07:00
Schuyler Erle
4d578c156d Add flexible threshold, bump up max_distance a bit. 2011-09-01 09:31:55 +02:00
Schuyler Erle
0a4bae4b43 Make the relations all work. 2011-09-01 09:19:46 +02:00
Schuyler Erle
dcccbb3f66 Fixup Sanjay's todos. 2011-08-31 21:51:56 -07:00
Sanj
0d96fc6d6f minor ups 2011-09-01 08:53:22 +05:30
Sanj
b3abe1e12d make add_relation view cleaner for schuyler to work on:P; correct RELATIONSHIP_OPTIONS based on changes in models.py 2011-09-01 08:39:23 +05:30
Sanj
439b063cee handle responses in JS; clarify TODOs in views.py 2011-09-01 08:30:49 +05:30
Sanj
a61d8dd6fe add JS to edit relations; add TODOs in views.py 2011-09-01 08:28:02 +05:30
Schuyler Erle
1f4333bf94 merge 2011-08-31 19:25:38 -07:00
Schuyler Erle
a82c241e18 Rename relations. 2011-08-31 19:25:01 -07:00
Sanj
f30835b1fa argh, wrong search_related view function; commented out unneeded function / view / url 2011-09-01 07:44:49 +05:30
Sanj
385e3bc467 JS handler to display initial relations, drop-down, etc. 2011-09-01 07:34:48 +05:30
Sanj
7301d5157a forget about formsets and make things work again 2011-09-01 07:21:46 +05:30
Sanj
df8415e718 goh 2011-09-01 06:59:04 +05:30
Sanj
1114d47a41 gah 2011-09-01 06:57:35 +05:30
Sanj
a46df58e34 um, sorry? 2011-09-01 06:54:45 +05:30
Sanj
c9703c7796 formset weirdo 2011-09-01 06:52:31 +05:30
Sanj
f7150de6e4 er, Relationship 2011-09-01 06:51:00 +05:30
Sanj
26081fb1f8 er, import 2011-09-01 06:49:48 +05:30
Sanj
cd5272bfde django formset foo to get relation inline 2011-09-01 06:43:26 +05:30
Sanj
8e44644d66 ups 2011-09-01 03:46:50 +05:30
Sanj
8491edfcf7 show features in time-frame admin 2011-09-01 03:36:16 +05:30
Sanj
4f1113209c um, convert incoming GET params to int 2011-08-31 19:07:47 +05:30
Sanj
b5083d178c uh 2011-08-31 18:55:45 +05:30
Sanj
2ef297873d cleaner url for similar.json endpoint 2011-08-31 18:50:16 +05:30
Sanj
4176814412 implement pagination in back-end 2011-08-31 17:44:02 +05:30
Sanj
2da0ccbe7f change query param to q= 2011-08-31 17:35:34 +05:30
Schuyler Erle
da14548849 fix SQL replacement syntax 2011-08-31 03:46:26 -07:00
Sanj
79aca4260f set default threshold in views.py to 0.5 2011-08-31 16:06:43 +05:30
Schuyler Erle
50fe1fb71c blah 2011-08-31 03:24:06 -07:00
Schuyler Erle
6f36b791d7 merge 2011-08-31 03:22:52 -07:00
Sanj
b7274133b9 .find() function needs to accept keyword parameter 'threshold' - Schuyler now has to actually do something with it:) 2011-08-31 15:52:38 +05:30
Schuyler Erle
3a09d2d314 Add abbreviations. 2011-08-31 03:19:51 -07:00
Sanj
fed4baa1d5 views.py: extra indent 2011-08-31 15:49:39 +05:30
Sanj
5b49036c8f syntax :P 2011-08-31 15:47:25 +05:30
Sanj
5165d8a0f3 merged schuylers changes; url / maps to search 2011-08-31 15:36:38 +05:30
Sanj
cafa78538c make URL field longer; remove view similar 2011-08-31 15:26:36 +05:30
Sanj
7eb4b7bbb4 authority record, time frame list displays 2011-08-31 15:21:03 +05:30
Schuyler Erle
c5501c7ff6 merge 2011-08-31 11:17:36 +02:00
Schuyler Erle
9906e46b71 Refer to feature types by their names alone. 2011-08-31 11:16:06 +02:00
Schuyler Erle
da73dfa1b3 Add threshold to find(). 2011-08-30 17:47:57 -07:00
Schuyler Erle
a9c5064c95 Revise overlaps() function to be find() function, support searching by string alone. 2011-08-30 17:43:00 -07:00
Schuyler Erle
6c7fee843c Add languages 2011-08-31 01:53:53 +02:00
Schuyler Erle
e6aeaa5741 Add new feature alternate name types. 2011-08-31 01:42:14 +02:00
Sanj
62519ff4ff make features readonly in relationship admin 2011-08-31 04:31:35 +05:30
Sanj
549bffeca8 er, forgot to add form to RelationshipAdmin 2011-08-31 04:09:49 +05:30
Sanj
459e38e758 features in relationship admin ajax_selects 2011-08-31 04:06:08 +05:30
Sanj
279cb18b91 display time_frame and is_primary in similar features list 2011-08-31 02:31:51 +05:30
Sanj
777f41a16f add URI to feature geojson, add to table in authority record admin page 2011-08-31 02:13:45 +05:30