Posts under tag: "APP"

Good bye DracEditor, welcome Martor

By: summonagus ● at Sept. 23, 2017, 6:42 a.m. ● Posted under: #Django, #APP, #Module, #Project, #News

Martor is Markdown Editor plugin for Django and new face of DracEditor. 1. DracEditorPreviously we found serious problem, as @gomezjdaniel reported where "Markdown widget becomes unresponsive when a model has multiple DraceditorField", thank for reported this issue. 2. MartorWhat news? New face from two sides into tabs Support Multiple Fields ...

Read More →

Rename app name in django admin

By: summonagus ● at Sept. 14, 2017, 5:45 a.m. ● Posted under: #Django, #Tricks, #Solution, #APP

Prior to Django 1.7 You can give your application a custom name by defining app_label in your model definition. But as django builds the admin page it will hash models by their app_label, so if you want them to appear in one application, you have to define this name in ...

Read More →

Deploying Django Project at Pythonanywhere

By: summonagus ● at July 21, 2017, 6:46 p.m. ● Posted under: #Django, #APP, #Project, #News

PythonAnywhere is an online Integrated Development Environment (IDE) and Web hosting service based on the Python programming language. It provides in-browser access to server-based Python and Bash Command-line interfaces, along with a code editor with Syntax highlighting. Program files can be transferred to and from the service using the user's ...

Read More →

DracEditor - Django Markdown Editor built for Dracos Linux

By: summonagus ● at Jan. 1, 2017, 9:18 p.m. ● Posted under: #Django, #APP, #Module, #Project

DracEditor - Django Markdown Editor built for Dracos Linux. Few days ago i created package django markdown editor. I created this plugin specially to handle the new forum of Dracos Linux. Demo Video: https://youtu.be/DZCZD7Y8P0YFeatures Integrated with Ace Editor Integrated with Semantic-UI Live Preview Upload Image to imgur.com (via API) Emoji ...

Read More →

Djipsum already in new version 1.0.9

By: summonagus ● at Dec. 2, 2016, 4:56 a.m. ● Posted under: #Django, #APP, #Module, #News

Djipsum already in new version 1.0.9. Djipsum is awesome command plugin to generate fake content for Django. What news? Fixed ManyToManyField (return the random objects from many to many field). Fixed ForeignKey Field (return the random object from foreign field). Install:$ pip install djipsum I never test this tool with ...

Read More →

Django Contact Form Widget

By: summonagus ● at Nov. 3, 2016, 2:42 p.m. ● Posted under: #Django, #APP, #Project, #Ajax

Django contact widget is once of plugin i already released. This is simple contact widget plugin for Django. inspired from https://github.com/ubernostrum/django-contact-form, but made more simple and easy to use. Demohttps://github.com/agusmakmun/django-contact-widget/tree/master/contact_widget_demoInstallDjango Contact Widget is available directly from PyPI: $ pip install django-contact-widget *). And don't forget to add "contact_widget" to your ...

Read More →

Step by step how to use multiple databases with database routers in Django

By: summonagus ● at Oct. 26, 2016, 11:29 p.m. ● Posted under: #Project, #Django, #APP, #Settings, #Database, #Problem, #Tricks, #Solution, #SSO, #Multi Databases

1. Please create a new superuser for the second/default/current database. Because you will getting this issue that i already asked before: https://gitter.im/django/django?at=5810b0b5806316005dc11f46 i use multiple site, multiple env, multiple project, multiple database. and found this error message if use DATABASE_ROUTERS. insert or update on table "django_admin_log" violates foreign key constraint ...

Read More →

How to implement the ForeignKey for multi databases Django

By: summonagus ● at Oct. 23, 2016, 6:12 a.m. ● Posted under: #Tricks, #Solution, #Project, #Django, #APP, #Database, #Problem, #SSO, #Multi Databases, #Ajax

Previously i had confused how to handle this problem, this problem also already asked by someone on stackoverflow (Cross Database foreign key error) and has the best answered by someone http://stackoverflow.com/a/23273703/6396981 with quote: If you have used a router to partition models to different databases, any foreign key and many-to-many ...

Read More →

Djipsum: Plugin to generate the lorem ipsum (fake content) for django model

By: summonagus ● at Oct. 11, 2016, 4:51 p.m. ● Posted under: #Module, #APP, #Django, #News, #Project, #Solution

Djipsum Plugin to generate the lorem ipsum (fake content) for django model. Sometimes, I feel bored when i want to create many contents such as fake content in once time. and thid Djipsum specially maded to solved it. This plugin is made using management.commands from django. InstallDjipsum is available directly ...

Read More →

Django Blog Python Learning released v.3.6 with feature autobackup

By: summonagus ● at Oct. 4, 2016, 9:28 a.m. ● Posted under: #Problem, #Database, #APP, #Django, #News, #Project

Previously, the Django already has a method to backup the database to the json file with quick command: $ ./manage.py dumpdata --format=json > outfile.json Yup, with dumpdata. But why this "Django Blog Python Learning" not use it? We need to explore and use another method, so we know what we ...

Read More →