UiKit editor for Django
What’s that
uikit_editor is a reusable application for Django, using UiKit editor
Dependence
Django >= 1.3
Getting started
Install uikit_editor:
`pip install django-uikit-editor`
Add ‘uikit_editor’ to INSTALLED_APPS.
Using in model
from django.db import models
from uikit_editor import UiKitField
class Entry(models.Model):
title = models.CharField(max_length=250, verbose_name=u'Title')
text = UiKitField(verbose_name=u'Text')
or use custom parametrs:
text = UiKitField(
verbose_name=u'Text',
mode="tab", # 'split', 'tab' default 'split'
markdown=True #default False
)
Using for only admin interface
from django import forms
from uikit_editor import UiKitWidget
from blog.models import Entry
class EntryAdminForm(forms.ModelForm):
class Meta:
model = Entry
widgets = {
'text': UiKitWidget(),
}
class EntryAdmin(admin.ModelAdmin):
form = EntryAdminForm
UiKitWidget takes the same parameters as UiKitField.
Contributing
Fork it!
Create your feature branch: git checkout -b my-new-feature
Commit your changes: git commit -am ‘Add some feature’
Push to the branch: git push origin my-new-feature
Submit a pull request =]
Metadata
Release files for django-uikit-editor 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-uikit-editor-0.0.1.tar.gz | 1.2 MB | Without provenance | Details for django-uikit-editor-0.0.1.tar.gz |
Release files / django-uikit-editor-0.0.1.tar.gz
| Download URL | django-uikit-editor-0.0.1.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f292dce01ff0ebb7c0c8a72cbac91f47aed120f212873bfc0d54bbff0a99e16
|
|
BLAKE2b-256 checksum How to use checksums |
3f6172c02848b6e0400f5654dd06f1cd5af021202932eb75f7dece4b36af238d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-uikit-editor 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.