Skip to content

A Django app for rapid web application development. Please see README for more information. See this app live at https://dj-node-project.herokuapp.com/.

Notifications You must be signed in to change notification settings

jackyu-it/dj_node

Repository files navigation

App Name: DJ-NODE
Creator:  Jack Yu
Contact Email: jackyu.it@gmail.com


Introduction
--------------
A Django app for rapid web application development. Developers can extend the following features in their own projects.

It has the following features:

- Account & Password Handling
- Security & Permission Management
- List Handling
- Form Handling
- Ajax Handling
- Review Feature
- Comment Feature
- Bookmark Feature
- Profile Feature
- Theme Lookup

INSTALLATION
--------------
1) git submodule add <..dj_node.git> to your Django project
2) Add "dj_node" to INSTALLED_APPS in settings.py
3) Add the following to settings.py
    DJ_NODE_SITES = {"localhost": {'site_folder': '<site app folder>',
                                   'site_theme': '<site theme folder>',
                                   'site_code': '<site lock code>',
                                   'site_https': <Boolean for https access>,
                                   'site_has_ssl': <Boolean for ssl setup>,
                                   'recaptcha_anonymous': <Boolean for anonymous recaptcha>,
                                   'recaptcha_instruction': '<Boolean for recaptcha instruction>',
                                   'recaptcha_css_class': '<CSS class for recaptcha>',
                                   'dj_theme': '<fallback theme>',
                                   'email_manager': 'manager@domain.com'}}
4) Copy needed url patterns from dj_node.sample_urls.py into your project urls.py

NODE STRUCTURES
--------------
Dj-Node treat each request as a node operation. You can write your own nodes by extending the following nodes.
- dj_node.nodes.list.ListNode: handling list request
- dj_node.nodes.item.ItemNode: handling single record request
- dj_node.nodes.form.FormNode: handle form request

TEMPLATE STRUCTURES
--------------
Dj-Node has a fall-thru template lookup mechanism. It will first search for themes in this order.
- settings.DJ_NODE_SITES[domain].site_theme.
- settings.DJ_NODE_SITES[domain].dj_node_theme.

* See this app live at https://dj-node-project.herokuapp.com/

About

A Django app for rapid web application development. Please see README for more information. See this app live at https://dj-node-project.herokuapp.com/.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published