Let AngularJS play well with Django

Related tags

Djangodjango-angular
Overview

django-angular

Let Django play well with AngularJS

Build Status PyPI version Python versions Software license Twitter Follow

What does it offer?

Add AngularJS directives to Django Forms. This allows to handle client side form validation using the constraints provided by the server side Form declaration.

For more information, please visit the demo site.

How to run

git clone https://github.com/jrief/django-angular.git django-angular.git
cd django-angular.git
docker build -t django-angular.git .
docker run -d -it -p 9002:9002 django-angular.git

Open the application at http://{docker-host's-ip}:9002/

Backward Incompatibility

To be compliant with other libraries such as djangorestframework, server-side responses on rejected forms use error code 422, rather than 200. If you use your own form controllers, adopt them accordingly. The JSON format used to communicate errors downstream has changed slightly.

New Features

For a smoother transition path, django-angular added two directives in version 2.0:

<form djng-endpoint="/path/to/endpoint">...</form>, which can be used to upload form data to the server. It also populates the error fields, in case the server rejected some data.

<djng-forms-set endpoint="/path/to/endpoint"><form ...>...</form>...</djng-forms-set> Similar to the above directive, but rather than validating one single form, it validates a set of forms using one shared endpoint.

A promise chain has been introduced. Buttons used to submit form data and then proceed with something else, now can be written as:

<button ng-click="do(update()).then(redirectTo('/path/to/other/page'))">Label</button>

Documentation

Detailed documentation on ReadTheDocs.

Demo on how to combine Django with Angular's form validation.

Please drop me a line, if and where you use this project.

Features

  • Seamless integration of Django forms with AngularJS controllers.
  • Client side form validation for Django forms using AngularJS.
  • Let an AngularJS controller call methods in a Django view - kind of Javascript RPCs.
  • Manage Django URLs for static controller files.
  • Three way data binding to connect AngularJS models with a server side message queue.
  • Perform basic CRUD operations.

Examples

License

Copyright © 2019

MIT licensed

Comments
  • New method for reversing django's urls in angular

    New method for reversing django's urls in angular

    PR to discuss the new method.

    Basically builds a url with arguments for reverse call, DjangularUrlResolverView parses them, calls the actual view and returns the result.

    • Doesn't require loading url patterns to angular app anymore.
    • Maintains the same interface for djangoUrl service, completely backwards compatible
    • Tests already present, will add documentation shortly.

    Some other points to consider:

    • Currently the code still contains urls_by_namespace function, which was already deprecated with load_djng_urls approach, I suggest we remove that when moving to the new method.
    opened by jkosir 35
  • CRUD

    CRUD

    Simple CRUD query to get all objects returns HTML page instead of object, generating the following error

    Error: [$resource:badcfg] Error in resource configuration. Expected response to contain an array but got an object
    
    opened by thegeorgeous 27
  • Survey about naming conventions - please participate!

    Survey about naming conventions - please participate!

    I noticed, that the current naming conventions are not very consistent.

    Django-Angular's Javascript code, Directives start with djng-..., which is in my opinion is a good choice.

    Django-Angular modules start with ng.django.... , which is distracting. In my opinion, a better prefix would be to also use djng....

    Django-Angular Providers start with django, for instance djangoForm, djangoRMI and djangoWebsocket. This in my opinion is somehow acceptable, since they already are part of a Django-Angular namespace.

    In Django-Angular's Python code, Mixins are Prefixed with Ng.... For consistency, shouldn't they rather be renamed to say DjNg... or djng?

    Please participate and point my on conventions used in similar third party modules.

    question 
    opened by jrief 25
  • Reverse urls

    Reverse urls

    I am trying to use the 'reverse urls' as specified in the documentation.

    According to the documentation, I have to configure django to support the feature, which can be done in two different ways:

    1. Add 'djangular.middlewares.DjangularUrlMiddleware' to MIDDLEWARE_CLASSES in your Django
    2. Add url(r'^angular/', include('djangular.urls')) to your main urls.py file

    In the first case, I receive the error 'ImportError: No module named 'djangular.middleware'', whereas in the second case I receive the error 'No module named 'djangular.urls''.

    Maybe I am missing something, but what is strange is that I can not find any DjangularUrlMiddleware in the whole source code. May it be the case that the class name has changed but the documentation has not been modified accordingly?

    Thank you for your support.

    opened by fcracker79 22
  • Issue with grouped checkboxes in firefox

    Issue with grouped checkboxes in firefox

    Can someone comfirm this please. I'm using:

    OSX 10.7.5 Firefox 33.1.1

    1. Go to either

    http://djangular.aws.awesto.com/form_validation/

    or

    http://djangular.aws.awesto.com/combined_validation/

    1. Scroll to 'notify me' and select 'postcard' -- i get the 'required' error message

    2. deselect 'postcard' -- i get the valid tick

    3. select more than one checkbox in the group and the valid tick appears

    4. deselect all and the tick stays until you reselect one

    Also, once you've force submitted the form to ajax (in any browser) with no checkboxes selected, the valid tick does not appear once any checkboxes are selected.

    opened by jamesbrobb 21
  • ngMessages support

    ngMessages support

    Hi Jacob, i've just updated my forms to use ngMessages and was wondering if it's something you think would be useful for the project?

    It adds a better flow for dealing with server errors, using a 'rejected' validator to display a returned field error. Plus there's also a significant reduction in watchers. I have 3 forms with a total of 9 fields and have seen a reduction of 40.

    One thing to note is that ngMessages are dependent on angular 1.3+

    The new logic consists of:

    A new TupleErrorList - NgMessagesTupleErrorList A django filter to add the validator to the input - although there might be a better solution for this? An angular service to process and apply the errors An angular 'rejected' validator directive

    Anyway, let me know what you think?

    opened by jamesbrobb 21
  • djangoForm service - no easy way to clear errors.

    djangoForm service - no easy way to clear errors.

    djng_forms_module.factory('djangoForm', function() ...

    Long version In my app I've used the djangoForm service and pass it my own 'errors' which come back from the server after I have posted the data via ajax (which I do on each keypress, for a sort of ghetto instant apply).

    This works, although there is no easy way to clear the data, so I cheat .. by passing setErrors an object containing all the field names and an empty array:

    { field_name: [ "" ], }

    This is pretty dirty but works, the problem is that I get a tick after modifying a field, then when the server responds it disapears.

    TLDR Please can we have 'clearErrors'.

    opened by stuaxo 20
  • Don't mark fields as pristine when setErrors is run

    Don't mark fields as pristine when setErrors is run

    Background

    I have noticed bugs when using django-angular with a submitted form that fails server-side validation:

    • Fields that pass client-side validation but fail server-side have both a tick and a cross: screen shot 2016-05-26 at 13 54 10
    • When setErrors is used to add the error to the field, the error appears twice: screen shot 2016-05-26 at 13 55 45

    Proposal

    This pull request fixes these issues by:

    • Not marking fields as pristine in setErrors
    • Moving the $message error from the $pristine list to the $dirty list
    • Only displaying the OK tick in the $pristine error list if the field passes server-side validation
    opened by omarkhan 19
  • Modifications on NgModelFormMixin to support ng-options.

    Modifications on NgModelFormMixin to support ng-options.

    Hi, Thanks for a very helpful library. I hope you will get a chance to review these changes. Very open to any feedback, I'm using this on a daily basis. This is my first pull request ever..

    opened by thnee 17
  • CheckboxChoiceInput breaks compatibility with django 1.5

    CheckboxChoiceInput breaks compatibility with django 1.5

    The CheckboxChoiceInput class is not present in django 1.5.

    https://github.com/django/django/blob/1.5.8/django/forms/widgets.py

    This is the changeset where it was implemented: https://github.com/django/django/commit/9ac4dbd7b53d187ca54f28e247d3a120660938ca

    opened by AgDude 16
  • Bug in as_ul?

    Bug in as_ul?

    I was prodding around on the example form page and got a 500 Internal Server Error when it was rendering {{ form.as_div }}. I think I got the same error a day or two ago on my implementation too. Admittedly I was using a REST api test tool at the time, but still...

    screen shot 2016-12-01 at 09 58 32

    KeyError at /model_scope/ u'i' Request Method: POST Request URL: http://django-angular.awesto.com/model_scope/ Django Version: 1.7.10 Exception Type: KeyError Exception Value: u'i' Exception Location: /web/staging/projects/django-angular/djng/forms/angular_base.py in as_ul, line 85 Python Executable: /usr/sbin/uwsgi Python Version: 2.7.5 Python Path: ['.', '', '/web/staging/projects/django-angular', '/web/staging/projects/django-websocket-redis', '/web/staging/virtualenvs/djangular/lib64/python27.zip', '/web/staging/virtualenvs/djangular/lib64/python2.7', '/web/staging/virtualenvs/djangular/lib64/python2.7/plat-linux2', '/web/staging/virtualenvs/djangular/lib64/python2.7/lib-tk', '/web/staging/virtualenvs/djangular/lib64/python2.7/lib-old', '/web/staging/virtualenvs/djangular/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7', '/usr/lib/python2.7', '/web/staging/virtualenvs/djangular/lib/python2.7/site-packages'] Server time: Thu, 1 Dec 2016 10:44:22 +0100

    opened by racitup 15
  • Bump pillow from 7.1.0 to 9.3.0 in /examples

    Bump pillow from 7.1.0 to 9.3.0 in /examples

    Bumps pillow from 7.1.0 to 9.3.0.

    Release notes

    Sourced from pillow's releases.

    9.3.0

    https://pillow.readthedocs.io/en/stable/releasenotes/9.3.0.html

    Changes

    ... (truncated)

    Changelog

    Sourced from pillow's changelog.

    9.3.0 (2022-10-29)

    • Limit SAMPLESPERPIXEL to avoid runtime DOS #6700 [wiredfool]

    • Initialize libtiff buffer when saving #6699 [radarhere]

    • Inline fname2char to fix memory leak #6329 [nulano]

    • Fix memory leaks related to text features #6330 [nulano]

    • Use double quotes for version check on old CPython on Windows #6695 [hugovk]

    • Remove backup implementation of Round for Windows platforms #6693 [cgohlke]

    • Fixed set_variation_by_name offset #6445 [radarhere]

    • Fix malloc in _imagingft.c:font_setvaraxes #6690 [cgohlke]

    • Release Python GIL when converting images using matrix operations #6418 [hmaarrfk]

    • Added ExifTags enums #6630 [radarhere]

    • Do not modify previous frame when calculating delta in PNG #6683 [radarhere]

    • Added support for reading BMP images with RLE4 compression #6674 [npjg, radarhere]

    • Decode JPEG compressed BLP1 data in original mode #6678 [radarhere]

    • Added GPS TIFF tag info #6661 [radarhere]

    • Added conversion between RGB/RGBA/RGBX and LAB #6647 [radarhere]

    • Do not attempt normalization if mode is already normal #6644 [radarhere]

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies python 
    opened by dependabot[bot] 0
  • Remove no-op __future__ imports, Unicode strings

    Remove no-op __future__ imports, Unicode strings

    Version 2.3 officially dropped support for Python 2.7 (which reached its end of life at the end of 2020).

    In Python 3, all string literals are Unicode.

    Expressly stating file encoding (with # -*- coding: utf-8 -*-) is no longer necessary (files now default to being interpreted as UTF-8 instead of ASCII), but it's somewhat harmless.

    opened by DavidCain 0
  • Bump py from 1.8.0 to 1.10.0 in /examples

    Bump py from 1.8.0 to 1.10.0 in /examples

    Bumps py from 1.8.0 to 1.10.0.

    Changelog

    Sourced from py's changelog.

    1.10.0 (2020-12-12)

    • Fix a regular expression DoS vulnerability in the py.path.svnwc SVN blame functionality (CVE-2020-29651)
    • Update vendored apipkg: 1.4 => 1.5
    • Update vendored iniconfig: 1.0.0 => 1.1.1

    1.9.0 (2020-06-24)

    • Add type annotation stubs for the following modules:

      • py.error
      • py.iniconfig
      • py.path (not including SVN paths)
      • py.io
      • py.xml

      There are no plans to type other modules at this time.

      The type annotations are provided in external .pyi files, not inline in the code, and may therefore contain small errors or omissions. If you use py in conjunction with a type checker, and encounter any type errors you believe should be accepted, please report it in an issue.

    1.8.2 (2020-06-15)

    • On Windows, py.path.locals which differ only in case now have the same Python hash value. Previously, such paths were considered equal but had different hashes, which is not allowed and breaks the assumptions made by dicts, sets and other users of hashes.

    1.8.1 (2019-12-27)

    • Handle FileNotFoundError when trying to import pathlib in path.common on Python 3.4 (#207).

    • py.path.local.samefile now works correctly in Python 3 on Windows when dealing with symlinks.

    Commits
    • e5ff378 Update CHANGELOG for 1.10.0
    • 94cf44f Update vendored libs
    • 5e8ded5 testing: comment out an assert which fails on Python 3.9 for now
    • afdffcc Rename HOWTORELEASE.rst to RELEASING.rst
    • 2de53a6 Merge pull request #266 from nicoddemus/gh-actions
    • fa1b32e Merge pull request #264 from hugovk/patch-2
    • 887d6b8 Skip test_samefile_symlink on pypy3 on Windows
    • e94e670 Fix test_comments() in test_source
    • fef9a32 Adapt test
    • 4a694b0 Add GitHub Actions badge to README
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies python 
    opened by dependabot[bot] 0
  • module 'django.forms.forms' has no attribute 'BoundField'

    module 'django.forms.forms' has no attribute 'BoundField'

    Unable to access certain admin sections with bound forms. Below error shows up when access User page from Django admin.

    Request Method: | GET -- | -- http://10.10.134.239:9005/admin/auth/user/ 3.1 AttributeError module 'django.forms.forms' has no attribute 'BoundField' /usr/local/lib/python3.6/site-packages/djng/forms/angular_base.py, line 151, in /usr/bin/python3 3.6.8


    /usr/local/lib/python3.6/site-packages/djng/forms/angular_base.py, line 151, in 144. """ 145. context = super(NgWidgetMixin, self).get_context(name, value, attrs) 146. if callable(getattr(self._field, 'update_widget_rendering_context', None)): 147. self._field.update_widget_rendering_context(context) 148. return context 149. 150. 151.class NgBoundField(forms.BoundField): … 152. @property 153. def errors(self): 154. """ 155. Returns a TupleErrorList for this field. This overloaded method adds additional error lists 156. to the errors as detected by the form validator. 157. """

    opened by GJoshi909 10
  • Bump angular from 1.6.10 to 1.8.0 in /client

    Bump angular from 1.6.10 to 1.8.0 in /client

    Bumps angular from 1.6.10 to 1.8.0.

    Changelog

    Sourced from angular's changelog.

    1.8.0 nested-vaccination (2020-06-01)

    This release contains a breaking change to resolve a security issue which was discovered by Krzysztof Kotowicz(@koto); and independently by Esben Sparre Andreasen (@esbena) while performing a Variant Analysis of CVE-2020-11022 which itself was found and reported by Masato Kinugawa (@masatokinugawa).

    Bug Fixes

    • jqLite:
      • prevent possible XSS due to regex-based HTML replacement (2df43c)

    Breaking Changes

    jqLite due to:

    • 2df43c: prevent possible XSS due to regex-based HTML replacement

    JqLite no longer turns XHTML-like strings like <div /><span /> to sibling elements <div></div><span></span> when not in XHTML mode. Instead it will leave them as-is. The browser, in non-XHTML mode, will convert these to: <div><span></span></div>.

    This is a security fix to avoid an XSS vulnerability if a new jqLite element is created from a user-controlled HTML string. If you must have this functionality and understand the risk involved then it is posible to restore the original behavior by calling

    angular.UNSAFE_restoreLegacyJqLiteXHTMLReplacement();
    

    But you should adjust your code for this change and remove your use of this function as soon as possible.

    Note that this only patches jqLite. If you use jQuery 3.5.0 or newer, please read the jQuery 3.5 upgrade guide for more details about the workarounds.

    1.7.9 pollution-eradication (2019-11-19)

    Bug Fixes

    1.7.8 enthusiastic-oblation (2019-03-11)

    ... (truncated)
    Commits
    • e55d352 docs(*): update changelog for 1.8.0
    • 78ab691 chore(*): prep for 1.8.0
    • 59b5651 docs(ngRepeat): missing closing backtick
    • c8b7c16 fix(jqLite): improve documentation
    • 05cf606 fix(jqLite): apply suggestions from code review
    • 2df43c0 fix(jqLite): prevent possible XSS due to regex-based HTML replacement
    • 295213d chore(*): clean up package.json and CircleCI config
    • a31c207 chore(docs-app): remove document.write() from docs index.html
    • 2518966 fix(grunt-utils): insert the core CSS styles without using innerHTML
    • 7de25c8 chore(ci): ensure that deployment files are ready for deployment
    • Additional commits viewable in compare view
    Maintainer changes

    This version was pushed to npm by petebacondarwin, a new releaser for angular since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies javascript 
    opened by dependabot[bot] 0
  • Bump angular from 1.7.9 to 1.8.0 in /examples

    Bump angular from 1.7.9 to 1.8.0 in /examples

    Bumps angular from 1.7.9 to 1.8.0.

    Changelog

    Sourced from angular's changelog.

    1.8.0 nested-vaccination (2020-06-01)

    This release contains a breaking change to resolve a security issue which was discovered by Krzysztof Kotowicz(@koto); and independently by Esben Sparre Andreasen (@esbena) while performing a Variant Analysis of CVE-2020-11022 which itself was found and reported by Masato Kinugawa (@masatokinugawa).

    Bug Fixes

    • jqLite:
      • prevent possible XSS due to regex-based HTML replacement (2df43c)

    Breaking Changes

    jqLite due to:

    • 2df43c: prevent possible XSS due to regex-based HTML replacement

    JqLite no longer turns XHTML-like strings like <div /><span /> to sibling elements <div></div><span></span> when not in XHTML mode. Instead it will leave them as-is. The browser, in non-XHTML mode, will convert these to: <div><span></span></div>.

    This is a security fix to avoid an XSS vulnerability if a new jqLite element is created from a user-controlled HTML string. If you must have this functionality and understand the risk involved then it is posible to restore the original behavior by calling

    angular.UNSAFE_restoreLegacyJqLiteXHTMLReplacement();
    

    But you should adjust your code for this change and remove your use of this function as soon as possible.

    Note that this only patches jqLite. If you use jQuery 3.5.0 or newer, please read the jQuery 3.5 upgrade guide for more details about the workarounds.

    Commits
    • e55d352 docs(*): update changelog for 1.8.0
    • 78ab691 chore(*): prep for 1.8.0
    • 59b5651 docs(ngRepeat): missing closing backtick
    • c8b7c16 fix(jqLite): improve documentation
    • 05cf606 fix(jqLite): apply suggestions from code review
    • 2df43c0 fix(jqLite): prevent possible XSS due to regex-based HTML replacement
    • 295213d chore(*): clean up package.json and CircleCI config
    • a31c207 chore(docs-app): remove document.write() from docs index.html
    • 2518966 fix(grunt-utils): insert the core CSS styles without using innerHTML
    • 7de25c8 chore(ci): ensure that deployment files are ready for deployment
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies javascript 
    opened by dependabot[bot] 0
Releases(0.6.1)
  • 0.6.1(Mar 1, 2014)

    Bug fix for CRUD view, from issue #21 (serializing ForeignKey fields). All serialization in CRUD view is now done with django's serializers, rather than manually building JSON data.

    Source code(tar.gz)
    Source code(zip)
Owner
Jacob Rief
Full Stack Django Developer
Jacob Rief
Django Advance DumpData

Django Advance Dumpdata Django Manage Command like dumpdata but with have more feature to Output the contents of the database from given fields of a m

EhsanSafir 7 Jul 25, 2022
PWA is a simple Django app to develope and deploy a Progressive Web Application.

PWA PWA is a simple Django app to develope and deploy a Progressive Web Application. Detailed documentation is in the "docs" directory. Quick start Ad

Nima 6 Dec 09, 2022
Django API creation with signed requests utilizing forms for validation.

django-formapi Create JSON API:s with HMAC authentication and Django form-validation. Version compatibility See Travis-CI page for actual test results

5 Monkeys 34 Apr 04, 2022
Improved Django model inheritance with automatic downcasting

Polymorphic Models for Django Django-polymorphic simplifies using inherited models in Django projects. When a query is made at the base model, the inh

1.4k Jan 03, 2023
Django application and library for importing and exporting data with admin integration.

django-import-export django-import-export is a Django application and library for importing and exporting data with included admin integration. Featur

2.6k Dec 26, 2022
Django's class-based generic views are awesome, let's have more of them.

Django Extra Views - The missing class-based generic views for Django Django-extra-views is a Django package which introduces additional class-based v

Andy Ingram 1.3k Jan 04, 2023
Drf-stripe-subscription - An out-of-box Django REST framework solution for payment and subscription management using Stripe

Drf-stripe-subscription - An out-of-box Django REST framework solution for payment and subscription management using Stripe

Oscar Y Chen 68 Jan 07, 2023
PEP-484 stubs for django-rest-framework

pep484 stubs for Django REST framework Mypy stubs for DRF 3.12.x. Supports Python 3.6, 3.7, 3.8 and 3.9. Installation pip install djangorestframework-

TypedDjango 303 Dec 27, 2022
Modular search for Django

Haystack Author: Daniel Lindsley Date: 2013/07/28 Haystack provides modular search for Django. It features a unified, familiar API that allows you to

Haystack Search 3.4k Jan 08, 2023
A django model and form field for normalised phone numbers using python-phonenumbers

django-phonenumber-field A Django library which interfaces with python-phonenumbers to validate, pretty print and convert phone numbers. python-phonen

Stefan Foulis 1.3k Dec 31, 2022
Media-Management with Grappelli

Django FileBrowser Media-Management with Grappelli. The FileBrowser is an extension to the Django administration interface in order to: browse directo

Patrick Kranzlmueller 913 Dec 28, 2022
A pickled object field for Django

django-picklefield About django-picklefield provides an implementation of a pickled object field. Such fields can contain any picklable objects. The i

Gintautas Miliauskas 167 Oct 18, 2022
A simple Django dev environment setup with docker for demo purposes for GalsenDev community

GalsenDEV Docker Demo This is a basic Django dev environment setup with docker and docker-compose for a GalsenDev Meetup. The main purposes was to mak

3 Jul 03, 2021
:couple: Multi-user accounts for Django projects

django-organizations Summary Groups and multi-user account management Author Ben Lopatin (http://benlopatin.com / https://wellfire.co) Status Separate

Ben Lopatin 1.1k Jan 01, 2023
a little task queue for python

a lightweight alternative. huey is: a task queue (2019-04-01: version 2.0 released) written in python (2.7+, 3.4+) clean and simple API redis, sqlite,

Charles Leifer 4.3k Dec 29, 2022
CRUD with MySQL, Django and Sass.

CRUD with MySQL, Django and Sass. To have the same data in db: insert into crud_employee (first_name, last_name, email, phone, location, university) v

Luis Quiñones Requelme 1 Nov 19, 2021
Hello world written in Django.

Learning Django 💡 create a virtual environment create python -m venv ./venv. this virtualenv file will be excluded by .gitignore activate the virtual

Dipak giri 4 Nov 26, 2021
The pytest framework makes it easy to write small tests, yet scales to support complex functional testing

The pytest framework makes it easy to write small tests, yet scales to support complex functional testing for applications and libraries. An example o

pytest-dev 9.6k Jan 06, 2023
Django + NextJS + Tailwind Boilerplate

django + NextJS + Tailwind Boilerplate About A Django project boilerplate/templa

Shayan Debroy 3 Mar 11, 2022
This is a Django app that uses numerous Google APIs such as reCAPTURE, maps and waypoints

Django project that uses Googles APIs to auto populate fields, display maps and routes for multiple waypoints

Bobby Stearman 57 Dec 03, 2022