Skip to main content

A Django management command to create apps with custom folder structures for graphql APIs.

Project description

Django GraphQL App Setup

A Django management command to create apps with custom folder structures for graphql APIs.

Installation

Install the package using pip:

pip install django-app-setup

Add the following to your settings.py file

INSTALLED_APPS = [
    ...
    "django_graphql_app_setup",
    ...
]

Usage

In your project directory, run the following command:

python manage.py startgqlapp <app_name>

or

cd /path/to/custom/directory

python ../../../../manage.py startgqlapp <app_name> --custom-directory /path/to/custom/directory

if you want the app in a custom directory. For example:

cd apps/custom

python ../../manage.py startgqlapp example --custom-directory apps/custom

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_graphql_app_setup-0.1.8.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_graphql_app_setup-0.1.8-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file django_graphql_app_setup-0.1.8.tar.gz.

File metadata

File hashes

Hashes for django_graphql_app_setup-0.1.8.tar.gz
Algorithm Hash digest
SHA256 f1127597d282a0efd3e810ad8601c2b1cc64fe800dc93d98042d92812521a940
MD5 3af75fdbcadf1456d1655fd62111507b
BLAKE2b-256 d25c8557d8a318a6afad9d2c81696b00d0d811e921f31f87ba099a303775be18

See more details on using hashes here.

File details

Details for the file django_graphql_app_setup-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for django_graphql_app_setup-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ebd07f9e3710c6adc573c0936fca7d2e71e694efd4de7d86f17550360ea26bc2
MD5 96aaa4fb54b3b4e22c5f0feff3cf2bd3
BLAKE2b-256 0fca311d4c80df28c2ba59384798eda0f963340e12c3a1a45f93aa355a04997e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page