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

Update ResourceSync to not reimplement django.contrib.sitemaps.views #48

Open
damonkelley opened this issue Sep 10, 2015 · 0 comments
Open

Comments

@damonkelley
Copy link
Contributor

damonkelley commented Sep 10, 2015

coda_mdstore.resourcesync has two functions, index and sitemap, which are copies of django.contrib.sitemaps.views.index and django.contrib.sitemaps.sitemap with very slight alterations. (See Django 1.6.x)

The alterations basically just edit the data that is handed to the response context. We can update this to use a decorator, which will edit the context after the function has been called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant