Frequently Asked Questions

Product Information & Django Integration

What is Hygraph and how does it integrate with Django?

Hygraph is a GraphQL-native Headless CMS that enables you to manage content for Django websites and applications. Instead of using Django Admin, you can manage your content in Hygraph and deliver it to your Django app via GraphQL queries. This integration streamlines content updates, optimizes delivery, and enhances both performance and developer experience. For setup instructions, see the Hygraph documentation.

How do I fetch data from Hygraph in a Django application?

You can query Hygraph's GraphQL Content API from your Django app by sending an HTTP POST request to the Hygraph endpoint using the requests library. You'll need to define a view function and set up your urls.py to point to it. Example code and setup details are provided in the Hygraph docs.

How do I display Hygraph data in Django templates?

After fetching data from Hygraph, you can iterate over the returned products in your Django template and render their attributes (name, description, image, availability) using standard Django template syntax. Example templates are available in the Hygraph documentation and example projects on GitHub.

Does Hygraph support Django CMS integration?

Yes, Hygraph supports Django CMS, enabling robust content management for Django projects. You can leverage Hygraph's API-first approach to manage and deliver content efficiently within Django applications.

Features & Capabilities

What are the key features of Hygraph?

Hygraph offers a range of features including a GraphQL-native architecture, content federation, Smart Edge Cache for fast delivery, custom roles for granular access control, rich text formatting, project backups, and a flexible management API. These features enable operational efficiency, scalability, and seamless integration with modern tech stacks. Learn more about Hygraph features.

What frameworks can I use with Hygraph?

Hygraph supports integration with popular frameworks including Astro, NextJS, NuxtJS, and SvelteKit, as well as Django and Python CMS. This flexibility allows you to build modern web applications using your preferred stack. See supported frameworks.

How does Hygraph's GraphQL-native architecture benefit my project?

Hygraph's GraphQL-native architecture enables precise data retrieval, minimizes over-fetching, and optimizes efficiency for both developers and content teams. It simplifies schema evolution and supports modern workflows, making it easier to build scalable and flexible applications. Read more about GraphQL benefits.

What performance features does Hygraph offer?

Hygraph delivers exceptional performance through features like Smart Edge Cache for faster content delivery and high-performance endpoints for reliability and speed. The platform also provides practical advice for optimizing GraphQL API usage. Read more about performance improvements.

Security & Compliance

What security and compliance certifications does Hygraph have?

Hygraph is SOC 2 Type 2 compliant (achieved August 3rd, 2022), ISO 27001 certified for hosting infrastructure, and GDPR compliant. These certifications ensure robust security and adherence to international standards. See security features.

What security features does Hygraph provide?

Hygraph offers granular permissions, SSO integrations, audit logs, encryption at rest and in transit, regular backups, and enterprise-grade compliance features such as dedicated hosting and custom SLAs. Security issues can be reported, and a security and compliance report is available for certified infrastructure.

Use Cases & Benefits

Who can benefit from using Hygraph?

Hygraph is ideal for developers, product managers, and marketing teams in industries such as ecommerce, automotive, technology, food and beverage, and manufacturing. It is especially suited for organizations modernizing legacy tech stacks, global enterprises needing localization and asset management, and businesses seeking scalable, future-proof content management. See use cases.

What problems does Hygraph solve?

Hygraph addresses operational inefficiencies (reducing developer dependency, modernizing legacy tech stacks, ensuring content consistency), financial challenges (lowering operational costs, accelerating speed-to-market, supporting scalability), and technical issues (simplifying schema evolution, resolving integration difficulties, optimizing performance, improving localization and asset management). See related KPIs.

Can you share some customer success stories with Hygraph?

Yes. For example, Komax achieved a 3X faster time-to-market, Autoweb saw a 20% increase in website monetization, Samsung improved customer engagement by 15%, and Stobag increased online revenue share from 15% to 70%. More stories are available at Hygraph customer stories.

Technical Requirements & Implementation

How easy is it to get started with Hygraph for Django projects?

Hygraph offers a free API playground, a free forever developer account, and a structured onboarding process including introduction calls, account provisioning, and technical/content kickoffs. Teams can start working immediately, and extensive documentation and example projects are available for guidance. See documentation.

How long does it take to implement Hygraph?

Implementation time varies by project scope. For example, Top Villas launched a new project within 2 months from initial contact, and Si Vale met aggressive deadlines during their initial implementation. The onboarding process is designed to be efficient and straightforward. See Top Villas case study.

What training and support resources are available for Hygraph customers?

Hygraph provides a structured onboarding process, webinars, live streams, how-to videos, extensive documentation, 24/7 support via chat, email, and phone, Intercom chat for real-time troubleshooting, a community Slack channel, and dedicated Customer Success Managers for enterprise customers. Access documentation.

How does Hygraph handle maintenance, upgrades, and troubleshooting?

Hygraph is a cloud-based platform, so all deployment, updates, security, and infrastructure maintenance are managed by Hygraph. Upgrades are seamless and require no manual intervention. Troubleshooting is supported via 24/7 support channels, Intercom chat, community Slack, and extensive documentation. Learn more.

Customer Experience & Usability

How do customers rate the ease of use of Hygraph?

Customers frequently praise Hygraph's intuitive editor UI, accessibility for non-technical users, and ease of setup. Hygraph was recognized for "Best Usability" in Summer 2023. Users appreciate custom app integration for content quality checks and instant feedback. Try Hygraph.

KPIs & Metrics

What KPIs and metrics are associated with the pain points Hygraph solves?

Key metrics include time saved on content updates, number of updates without developer intervention, system uptime, speed of deployment, content consistency across regions, user satisfaction scores, reduction in operational costs, ROI, speed to market, maintenance costs, scalability metrics, and performance during peak usage. See more on CMS KPIs.

Introducing Click to Edit

Headless CMS for Django

Hygraph is the ideal Headless CMS for Django websites and applications. Read further to learn how our API-first CMS allows you to add components to your Django apps in minutes and enable your website's content to be managed from a powerful CMS instead of Django Admin.

Step #1 - Create a view function to fetch the data from Hygraph

To query Hygraphs GraphQL Content API from a Django application you would send an HTTP POST request to the Hygraph's endpoint. On the right is a basic example of how to do this using the popular requests library in Python. Please ensure you have requests installed in your Django project (pip install requests).

In addition, you will need to define the URL pattern in your urls.py to point to this view function.

import requests
from django.http import JsonResponse
from django.shortcuts import render
def graphql_query(request):
url = 'https://api-<region>.hygraph.com/v2/<some hash>/master'
token = 'YOUR_HYGRAPH_TOKEN'
query = """
query MyQuery {
products {
slug
name
description
availability
image {
url
}
}
}
"""
headers = {
'Authorization': 'Bearer your-token-here',
}
response = requests.post(url, json={'query': query}, headers=headers)
data = response.json()['data']['myQuery']
return render(request, 'products_template.html', {'data': data})

Step #2 - Work with data within Django templates

In a Django template, displaying product details from a GraphQL query involves iterating over a list of products and rendering HTML elements populated with product attributes. Each product's name, description, image, and availability are presented in a structured layout.

products_template.html
<h1>Our Products</h1>
{% if products %}
<div class="product-list">
{% for product in products %}
<div class="product">
<a href="/product/{{ product.slug }}">
<h2>{{ product.name }}</h2>
<p>{{ product.description }}</p>
{% if product.image %}
<img src="{{ product.image }}" alt="{{ product.name }}" />
{% endif %}
<p>Availability: {{ product.availability|yesno:"Available,Out of stock" }}</p>
</a>
</div>
{% endfor %}
</div>
{% else %}
<p>No products available.</p>
{% endif %}

Start building with Django

We made it really easy to set up your project in Hygraph and use our GraphQL API within your Django project.

Quickstart

Take a look at our docs to see how you can easily set up a project in Hygraph and use it for your Django project.

Learn GraphQL

Hygraph is GraphQL-native Headless CMS offers precise data retrieval, minimizing over-fetching and optimizing efficiency.

Examples

Look at some of the example projects to see Hygraph in action.

Why Hygraph

Choosing Hygraph for your Django project

Integrating a GraphQL-native headless CMS with Django supersedes the traditional Django admin by providing a more tailored content management interface and delivering content via GraphQL's efficient queries. In addition, a headless CMS can serve as a replacement for a database without the need to manage models and relations in a typical Django fashion.

This setup streamlines content updates and optimizes content delivery, thus enhancing performance and developer experience.

headless cms for django

Developer Experience

We try to be the most un-opinionated CMS on the market with a wide collection of open source example projects to get you started.

Headless CMS

As a headless CMS (i.e. API based content management), you can be as modular and flexible as you need. We even support multiplatform content management.

Management API

Hygraph boasts a flexible and powerful management API to manage your content and schema, as well as a blazing fast content API.

Get started for free, or request a demo
to discuss larger projects