PEP-484 stubs for Django

This package contains type stubs and a custom mypy plugin to provide more precise static types and type inference for Django framework. Django uses some Python “magic” that makes having precise types for some code patterns problematic. This is why we need this project. The final goal is to be able to get precise types for most common patterns. Installation To make mypy aware of the plugin, you need to add [mypy] plugins = mypy_django_plugin.main [mypy.plugins.django-stubs] django_settings_module = “myproject.settings” in […]

Read more

Let AngularJS play well with Django

Let Django play well with AngularJS 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    

Read more

Django-based Crypto Portfolio Tracker – keep an eye on Shiba Inu and other Crypto

Easy asset tracking – at a glance 🚀 Dashboard to centrally monitor current crypto portfolio developments, by providing an overview of their current value.Values can either be displayed by their current Overall value (requires adding Purchases) or by their Current value(indicated by the V next to the number). The current course data is polled from CoinMarketCap’s REST API and stored in the database. The API allows you to makea maximum of 333 points worth of daily requests (~1 request / […]

Read more

Django CacheMiddleware has a multi-threading issue with pylibmc

Django CacheMiddleware has a multi-threading issue with pylibmc. CacheMiddleware shares a thread-unsafe cache object with many threads. It worksin most cache backends have Python implementations, but pylibmc is Cwith Python bindings. This is a simple Django project, with only django and pylibmc installed. Juststart it ./manage.py runserver with a localhost memcached and run lots ofconcurrent requests: ab -n100 -c10 http://localhost:8000/ This will trigger some exceptions like:

Read more

Forward and backwards compatibility layer for Django 1.4, 1.7, 1.8, 1.9, 1.10, and 1.11

Forward and backwards compatibility layer for Django 1.4, 1.7, 1.8, 1.9, 1.10 and 1.11 Consider django-compat as an experiment based on the discussion on reddit. Let’s see where it goes. What started as an experiment based on this discussion on reddit has proven to be true in real life. django-compat is under active development. To learn about other features, bug fixes, and changes, please refer to the changelog. Two popular examples of open source reusable app that uses django-compat are […]

Read more

Extends the Django Admin to include a extensible dashboard and navigation menu

django-admin-tools is a collection of extensions/tools for the default django administration interface, it includes: a full featured and customizable dashboard; a customizable menu bar; tools to make admin theming easier. The code is hosted on Github. Django-admin-tools is generously documented, you can browse the documentation online. a good start is to read the quickstart guide. The project was created by David Jean Louis and was previously hosted on Bitbucket. Please join the mailing list if you want to discuss of […]

Read more

Extendable, adaptable rewrite of django.contrib.admin

One of the most useful parts of django.contrib.admin is the ability to configure various views that touch and alter data. django-admin2 is a complete rewrite of that library using modern Class-Based Views and enjoying a design focused on extendibility and adaptability. By starting over, we can avoid the legacy code and make it easier to write extensions and themes. Full Documentation at: https://django-admin2.readthedocs.io/ Features Rewrite of the Django Admin backend Drop-in themes Built-in RESTful API Screenshots Requirements

Read more

An administration website for Django

yawd-admin, a django administration website yawd-admin now has a live demo at http://yawd-admin.yawd.eu/. Use demo / demo as username & passowrd. yawd-admin is an administration website for django. It extends the default django admin site and offers the following: A clean and beautiful bootstrap user interface Hand-written pure HTML5/CSS3 code with indented HTML output Responsive interface, optimized for mobile phones and tablets Register custom database settings (options) editable from the UI. You can use all standard django form fields for […]

Read more

A Django project skeleton that is modern and cutting edge

{% comment “This comment section will be deleted in the generated project” %} A Fantastic Django project starter. Features Ready Bootstrap-themed pages User Registration/Sign up Better Security with 12-Factor recommendations Logging/Debugging Helpers Works on Python 3 and Django 2 Formatted with Black More information at: http://django-edge.readthedocs.org/ Contribute using: Edge Dev Tools✨ ? ✨ Quick start: Before creating a new project from this template, you need to create a fresh virtual environment and install Django: $ python -m venv ./myenv $ […]

Read more

A raw connection between redis server and django python app

This repository contains the code for this . Running the Application Clone the repository git clone https://github.com/xxl4tomxu98/django-redis-connection.git Check into the cloned repository If you are using Pipenv, setup the virtual environment and start it as follows: python3 -m venv venv source venv/bin/activate pip install –upgrade pip pip install wheel pip install -r requirements.txt python django_redis_demo/manage.py runserver Send requests to http://localhost:8000/api/items GitHub View Github    

Read more
1 2 3 4 5 6 9