Skip to content

Commit

Permalink
Minor corrections in docs and 'README.md'
Browse files Browse the repository at this point in the history
  • Loading branch information
kenkuhhaut committed Jul 9, 2021
1 parent da2a15d commit 372a506
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -18,7 +18,7 @@ A more detailed documentation about `django-gsheets-import` is available [here](

## Installation and configuration

The package and its dependencies can be installed from PyPI via `pip install -U django-gsheets-import`.
The package and its dependencies can be installed from [PyPI](https://pypi.org/project/django-gsheets-import/) via `pip install -U django-gsheets-import`.
To use the package in your Django project, just add `import_export` and `gsheets_import` to the list of **installed apps** in your `settings.py`, i.e.
```python
## in settings.py
Expand Down
7 changes: 4 additions & 3 deletions docs/user_manual/demo_app.rst
Expand Up @@ -35,7 +35,7 @@ Assuming that Python and pip have already been installed globally or in an appro
Getting the demo sheet
======================

We have prepared a read-only sample Google Sheet, which is publicly available `here <https://docs.google.com/spreadsheets/d/1-VADSGcNxWWbhZxkhpgKZS59lTh6GDJtoriHKaE5arY/edit?usp=sharing>`__.
We have prepared a read-only sample Google Sheet called **GSheets Import Demo**, which is publicly available `here <https://docs.google.com/spreadsheets/d/1-VADSGcNxWWbhZxkhpgKZS59lTh6GDJtoriHKaE5arY/edit?usp=sharing>`__.
It contains two tables in two subsheets, one appropriate for each model in the demo project.
In order to use the sample sheet, click on the above link and sign in with your favorite Google Account (if you haven't done so already).
The demo sheet should then automatically be available from that account's Google Drive.
Expand Down Expand Up @@ -68,9 +68,10 @@ Testing the import feature using the demo app typically amounts to the following
* Navigate to ``http://localhost:8000`` in your browser and sign in as the Django project's superuser you created above.
* Both of the models in the project's ``literature`` app were supplemented by the Google Sheets import functionality. Choose one of the models from the sidebar, which brings you to the admin's changelist view. Here, click on the ``IMPORT`` button in the top right corner.
* The ``Google Sheet`` format is already pre-selected, so click on the ``Select a file...`` button.
* From the pop-up window, select the same Google Account which you used to access the sample sheets above.
* From the pop-up window, select the same Google Account which you used to access the sample sheet above.
* Grant your previously created Google Cloud Project the necessary rights when prompted.
* Select the appropriate Google Sheet from the Google Picker window.
* Select the "GSheets Import Demo" sheet from the Google Picker window.
* Make sure to select the subsheet appropriate for the current model from the corresponding drop-down list.
* Click on the ``SUBMIT`` button.
* If you like what you see, click on the ``CONFIRM IMPORT`` button to have the displayed data added to the underlying database.

Expand Down

0 comments on commit 372a506

Please sign in to comment.