We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
.zip
Starting from: #881, we can create a new project using a shell command (or an automated script).
Now, it would be nice to be able to load a new project without forcing the user to go through the file manager.
That means, without forcing the user to make two separate uploads:
* organization of data and projects
import zipfile from django.core.management import call_command with zipfile.ZipFile(zip_file, 'r') as zip_ref: zip_ref.extractall("/tmp/new_project")
call_command('load_project', file="/tmp/new_project/demo.qgs", data="/tmp/new_project/projects_data/")
No response
The text was updated successfully, but these errors were encountered:
wlorenzetti
No branches or pull requests
Checklist
Motivation
Starting from: #881, we can create a new project using a shell command (or an automated script).
Now, it would be nice to be able to load a new project without forcing the user to go through the file manager.
That means, without forcing the user to make two separate uploads:
Suggested solution
A - ADMIN USER
1. create a zip file like the following: G3WSUITE_3.6.zip *
* organization of data and projects
2. upload it onto the "New QGIS project" form
B - SERVER SIDE
1. extract it into a temporary folder
2. load the project
3. warn the user in case of file collisions (eg. within the "project_data" folder)
Alternatives considered
No response
The text was updated successfully, but these errors were encountered: