Skip to main content

Integration of Radicale with Django

Project description

DjRadicale

Radicale is a free and open-source CalDAV and CardDAV server.

DjRadicale is an Django Application for integration Radicale with a Django.

Features

With all features that Radicale have you will also get:

  • Django Models as a storage backend (it's possible to use any database supported by Django)
  • Django Admin web interface for browsing/editing stored data
  • Django Authentication as an authentication backend
  • Django Settings as a Radicale config

Requirements

  • Python >= 3.0
  • Django >= 4.0.1
  • Radicale >= 3.1.2, < 4.0.0

Installation

Install using PIP

$ pip install djradicale

Configuration

Modify your settings.py

INSTALLED_APPS = (
    ...
    'djradicale',
    ...
)

DJRADICALE_PREFIX = '/radicale/'
DJRADICALE_CONFIG = {
    'auth': {
        'type': 'djradicale.auth',
    },
    'rights': {
        'type': 'djradicale.rights',
    },
    'storage': {
        'type': 'djradicale.storage',
    },
}

Modify you urls.py

urlpatterns = [
    ...
    path("" + settings.DJRADICALE_PREFIX.lstrip("/"),
         include(("djradicale.urls", "djradicale-caldav"), namespace="djradicale")),
    ...
]

well-known urls configuration

You need to choose an implementation for handling of the "well-known" urls

External DjRadicale implementation

Add this to your urls'py:

from djradicale.views import WellKnownView

urlpatterns = [
    ...
    path(".well-known/caldav",
         WellKnownView.as_view(type="caldav"), name="well-known-caldav"),
    path(".well-known/carddav",
         WellKnownView.as_view(type="carddav"), name="well-known-carddav"),
    ...
]

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_radicale-0.0.17.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_radicale-0.0.17-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

Details for the file django_radicale-0.0.17.tar.gz.

File metadata

  • Download URL: django_radicale-0.0.17.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for django_radicale-0.0.17.tar.gz
Algorithm Hash digest
SHA256 75864663446ee0ec70dc7993c3775571e7ed63ae9c2c6bbd661ea59a0588db56
MD5 4f4b07e06cbfba5b2b28330b38e753f1
BLAKE2b-256 51ace95932db014eedb12415cea020b0d9d6856372802e26219b4fe74424cc6e

See more details on using hashes here.

File details

Details for the file django_radicale-0.0.17-py3-none-any.whl.

File metadata

File hashes

Hashes for django_radicale-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 0db332f3597fb06acb822a834744e0bddd15dcfd5a2ae11d4538c88d92b37b2b
MD5 93d1b5727e537e7e61ee0fb8017c6cfd
BLAKE2b-256 7d88a6b59949941f612b730ed807b6787989377eb9f046208140ab6471f8b91f

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