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.7.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.7-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_graphql_app_setup-0.1.7.tar.gz
Algorithm Hash digest
SHA256 47aad63202dd12661009aa4ebac71856cacb9f3a8455f041f3c9ad1461eb6013
MD5 9313b38a0fce76e19b2ea3d53b12aa3e
BLAKE2b-256 2e3aa320f09c3c19005779fdf346f025331a785074e2f71277099956cd1eb0ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_graphql_app_setup-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3755469ae909d3f558677d1f193ee3818becd1ced8d0fed5560d1c57bc7d0f7e
MD5 89d5a368499329c49cfb11adbaa50c85
BLAKE2b-256 2d87d8d7cc3b75332fbb29db20b1c8b015731d3dcf59ac484b6497a220f31a85

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