Skip to main content

A Django app blog API endpoints.

Project description

django-drf-blog-api

django-drf-blog-api is a Django blog API app

Quick start

  1. Add "Blog" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...,
        "django_drf_blog_api",
        'django_ckeditor_5',
    ]
    
  2. Include the polls URLconf in your project urls.py like this::

    from django.conf import settings
    from django.conf.urls.static import static
    
    # [ ... ]
    
    path("blog/", include("django-drf-blog-api.urls")),
    
    urlpatterns += [
        path("ckeditor5/", include('django_ckeditor_5.urls')),
    ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
    
  3. Run python manage.py migrate to create the models.

  4. Start the development server and visit the admin to create a poll.

  5. Visit the /blog/ URL to participate in the poll.

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-drf-blog-api-0.1.4.tar.gz (7.6 kB view details)

Uploaded Source

File details

Details for the file django-drf-blog-api-0.1.4.tar.gz.

File metadata

  • Download URL: django-drf-blog-api-0.1.4.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.2

File hashes

Hashes for django-drf-blog-api-0.1.4.tar.gz
Algorithm Hash digest
SHA256 622ff3dc3cceba8a09acfeada53c72569fc6348d55ed82752c7a5b0c3549dea5
MD5 6bb7cbf0e4f24caa05449a5ea9fc5656
BLAKE2b-256 d7a2a971d1e66ea2542750008daf9ab6bfbe04ad4bbb99a1fb027304b118b67e

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