Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #1478 Handle multiple reservation systems #1488

Merged
merged 4 commits into from
Sep 18, 2015
Merged

Conversation

submarcos
Copy link
Member

No description provided.

list_display = ('name',)
search_fields = ('name',)

admin.site.register(tourism_models.ReservationSystem, ReservationSystemAdmin)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should register only if settings.TOURISM_ENABLED is set

@gutard
Copy link
Contributor

gutard commented Sep 16, 2015

Maybe in API (/api/fr/touristiccontents.geojson), the reservation system should be the name instead of the id.

…de Reservation System Field when it's None in tempates
gutard pushed a commit that referenced this pull request Sep 18, 2015
fixes #1478 Handle multiple reservation systems
@gutard gutard merged commit 2681612 into master Sep 18, 2015
@gutard gutard deleted the reservation_systems branch September 18, 2015 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants