tfgg / constituencyvolunteernetwork

Automatically exported from code.google.com/p/constituencyvolunteernetwork
0 stars 1 forks source link

Closest constituency missed from list of neighbours #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
signup.models.Constituency.neighbors misses out the nearest item when called 
via the add_constituency view.  (i.e. when a user views their nearest 
constituencies).

Removing the list slice at line 84 breaks tests, presumably because we need 
to deal with excluding self in a consistent way.  (No time to investigate 
right now).

Original issue reported on code.google.com by seb.ba...@gmail.com on 19 Jan 2010 at 5:25