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.3.tar.gz (4.6 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.3-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_graphql_app_setup-0.2.3.tar.gz
Algorithm Hash digest
SHA256 1f0ca9c47259e8f3f599b32e88fb8eb1c2da3bd0927cec2846b47b47ed6f50c1
MD5 acd692791ef841bebe869a35446f2263
BLAKE2b-256 678287ae14fe438f26a1f128da92bacc4f5636800ced42186c9a25cb7670a2b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_graphql_app_setup-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d4d12c9dcd773a4ec531b17efcde1689b262094ec30d024308990f3ee538fec9
MD5 1d4fe8986813e7514055a694e1f76942
BLAKE2b-256 078296e345244dcdfbf6999e9d9a0741d090186494d4291c3824cdc7b191b69d

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