Permalink
Browse files

Packaging ans setup.py

  • Loading branch information...
1 parent 5bbef04 commit 522935c678e7fc6efc27640c3ac99de57c9b1cb2 @overkrik overkrik committed Jul 20, 2011
View
@@ -0,0 +1,4 @@
+include hyson/*.py
+recursive-include docs *.rst
+recursive-include static *.png
+recursive-include hyson/management *.py
View
@@ -256,6 +256,25 @@ it will be called for every QuerySet entry before serializing.::
}
+DetailView
+----------
+
+You can use DetailView to generate Ext JS DataView component, by default Hyson will provide a very simple base template,
+it's up to you to implement additional display logic.
+
+
+DeleteView
+----------
+
+DeleteView doen't produce any visual components, but may be used with Ext JS components like Grids and as part of APIsde
+
+API
+---
+
+Ext JS components like Grid allows to perform more than one CRUD actions on items, for example you may allow users to
+add, delete and edit rows. In this case, instead of providing 'directFn' function of your proxy - you provide and
+api.
+
Converting models
-----------------
View
@@ -0,0 +1,24 @@
+Building T-shirt database
+-------------------------
+
+We are going to create a small application which will help us to track collection of t-shirts
+
+
+Prepeare dev enviroment
+```````````````````````
+
+This tutorial assumes that you already have working MySQL installation, Python version 2.6 or higher and pip. If not,
+please refer to any django/mysql installaction guide for your system.
+
+Install django::
+
+ pip install django
+
+Install Hyson::
+
+ pip install http+git://github.com/Axion/Hyson.git
+
+Create new Django project::
+
+ django-admin.py startproject tshirt
+ cd tshirt
View
674 gpl3.txt

Large diffs are not rendered by default.

Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -0,0 +1,16 @@
+#!/usr/bin/env python
+
+from distutils.core import setup
+
+setup(
+ name='hyson',
+ version='0.1dev',
+ description='Ext JS integration utilities',
+ author='Michail Sychev',
+ author_email='m.sychev@axion-rti.ru',
+ url='https://github.com/Axion/Hyson',
+ license = 'GNU GPL3',
+ packages = ['hyson', 'hyson.management', 'hyson.management.commands'],
+ package_data={'hyson': ['docs/*', 'static/*']},
+ requires = ['django (>=1.3)'],
+)

0 comments on commit 522935c

Please sign in to comment.