nested fields

2012-11-13 Thread Gink Labrev
Hi, How to insert multiple, indefinite fields in a form ? I found this component to Rails [1], that allows to create nested fields. It's different than the native Django nested form. It's only one form, but a indefinite number of fields. You can see a example here: http://phonebook.guava.com.br/

How to crop image ?

2012-11-08 Thread Gink Labrev
How to crop image before upload ? I found this project: https://github.com/jonasundderwolf/django-image-cropping, but it does not work well. Does someone know other solutions ? Thanks, -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Android app that can post to a django server

2012-07-17 Thread Gink Labrev
If you want to post and access data via mobile, the best option is to create an API. You can use Tastypie to this task ( http://django-tastypie.readthedocs.org/en/latest/index.html). If you don't want to complicate now, you can create views that return JSON values to get data. For example: obj =

Re: use same database across various applications in a django project?

2012-07-12 Thread Gink Labrev
https://docs.djangoproject.com/en/dev/topics/db/models/#meta-options 2012/7/12 Gink Labrev > If the problem is the table name, use > db_table<https://docs.djangoproject.com/en/dev/ref/models/options/#django.db.models.Options.db_table> > to set database table name. >

Re: use same database across various applications in a django project?

2012-07-12 Thread Gink Labrev
If the problem is the table name, use db_table to set database table name. 2012/7/12 Burhan > Hi, > > I have a project which has two applications, app_1 and app_2, when I run > "python manage.py syncdb"