Comments (2)
The elections found via that method are:
{u'local.doncaster.edenthorpe-and-kirk-sandall.2016-05-05',
u'local.glasgow.anderston-city.2016-05-05',
u'local.gloucestershire.churchdown.2016-05-05',
u'local.staffordshire.uttoxeter-town.2016-05-05',
u'local.suffolk.bixley.2016-05-05',
u'local.suffolk.haverhill-cangle.2016-05-05',
u'local.surrey.staines-south-and-ashford-west.2016-05-05',
u'local.swansea.mynyddbach.2016-05-05',
u'local.wiltshire.amesbury-east.2016-05-05'}
This is nearly the same list as you get from:
In [63]: [e.slug for e in Election.objects.filter(posts__isnull=True)]
Out[63]:
[u'local.wiltshire.amesbury-east.2016-05-05',
u'local.suffolk.haverhill-cangle.2016-05-05',
u'local.surrey.staines-south-and-ashford-west.2016-05-05',
u'local.swansea.mynyddbach.2016-05-05',
u'local.doncaster.edenthorpe-and-kirk-sandall.2016-05-05',
u'local.castle-point.st-georges.2016-05-05',
u'local.glasgow.anderston-city.2016-05-05',
u'local.staffordshire.uttoxeter-town.2016-05-05',
u'local.suffolk.bixley.2016-05-05',
u'local.gloucestershire.churchdown.2016-05-05']
... except that that also includes u'local.castle-point.st-georges.2016-05-05'
from yournextrepresentative.
This has been fixed now (see DemocracyClub/yournextrepresentative#51 )
from yournextrepresentative.
Related Issues (20)
- Why is the project abandoned? HOT 1
- Update install/setup docs to reflect settings now in database
- Make homepage more useful after an election has finished HOT 3
- Admin changes in /settings published in 'recent changes' on front page
- add candidacy wizard: you can get a 500 error by selecting a post that's locked HOT 1
- UK: no elections listed when I search a postcode HOT 7
- fix old import scripts, so we don't crib bad code from them
- update django-allauth to cope with Facebook API deprecation HOT 1
- Update repo link HOT 1
- add the checks from candidates_fix_not_standing to check_constraints
- /recent-changes log should list and link to post HOT 1
- type="url" validation error is not shown on firefox HOT 2
- expose date of death as a field that can be edited
- Bulk add candidates: ability to see/add/amend Additional Name(s) inline HOT 4
- add a setting to control whether pages are indexed by Google or now
- Kenya: add a new Django app for kenya HOT 1
- audit all the current fields of SiteSettings
- Kenya: 500 error when trying to view Jacklyne Nekesa Nyongesa HOT 2
- maintain the list of candidates whose profiles are liable to vandalism in the database
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yournextrepresentative.