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.2.0.tar.gz (4.5 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.2.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_graphql_app_setup-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5988b2370eb68dcf85c6c8fd3055460e609056cd5930a743c0a76d42be6edbd2
MD5 e677f7305e76889fdd310a8cd183b0c9
BLAKE2b-256 78f95eaca560396979a1fce7a10b4c376df74d26453c3f431245321ffa1bdfe7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_graphql_app_setup-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2da316b6ca4349c00addf892c5630cbc30e858a858c6dd7248d9c09c83c403d0
MD5 816e4349438bb107320c61fecd16b9cc
BLAKE2b-256 3a3a488c8841fdc6c750064afbb559686c5620d0145ac18bd41c8259a033b54b

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