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

Option to regenerate resource links at migration or not #4519

Closed
afabiani opened this issue Jun 17, 2019 · 0 comments
Closed

Option to regenerate resource links at migration or not #4519

afabiani opened this issue Jun 17, 2019 · 0 comments
Assignees
Labels
feature A new feature to be added to the codebase
Milestone

Comments

@afabiani
Copy link
Member

Expected Behavior

When running the migrations the resource links will be regenerated only if the option/env variable UPDATE_RESOURCE_LINKS_AT_MIGRATE is set to True.

Actual Behavior

Resource links are regenerated every time I run a migrate command.

Steps to Reproduce the Problem

  1. Load some layers on GeoNode
  2. Stop GeoNode
  3. python manage.py migrate

Specifications

  • GeoNode version: 2.10
  • Installation method (manual, GeoNode Docker, SPCGeoNode Docker): Every
  • Platform: Every
  • Additional details: none
@afabiani afabiani added the feature A new feature to be added to the codebase label Jun 17, 2019
@afabiani afabiani added this to the 2.10 milestone Jun 17, 2019
@afabiani afabiani self-assigned this Jun 17, 2019
afabiani pushed a commit that referenced this issue Jun 17, 2019
[Closes #4519] Option to regenerate resource links at migration or not
@afabiani afabiani modified the milestone: 2.10 Jun 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature to be added to the codebase
Projects
None yet
Development

No branches or pull requests

1 participant