Re: upload image with Django

2013-05-25 Thread Gianluca Dileo
, mir ha scritto: > > Gianluca Dileo > writes: > > > Hi guy, > > I've created a form in a page html that upload a image. > > After capturing the image and edit it, I need to have it appear in a > window > > j > > How can i do? > &g

upload image with Django

2013-05-24 Thread Gianluca Dileo
Hi guy, I've created a form in a page html that upload a image. After capturing the image and edit it, I need to have it appear in a window j How can i do? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Setup a webserver that handles user input

2012-02-24 Thread Gianluca
! Gianluca -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options,

Re: good django twitter login tutorial

2011-09-26 Thread Gianluca Sforna
nk django-oauth is useful to create oauth providers; for consumers (like the one he's trying to build) he needs a client. For that, I found python-oauth2 at https://github.com/simplegeo/python-oauth2; the readme there has even an example of authenticating a django app with twitter. -- Gianluc

Re: Weird join conditions

2011-07-02 Thread Gianluca Sforna
42) object_list = ObjectModel.filter(q1 & q2) more info at: https://docs.djangoproject.com/en/dev/topics/db/queries/#filters-can-reference-fields-on-the-model https://docs.djangoproject.com/en/dev/topics/db/queries/#complex-lookups-with-q-objects -- Gianluca Sforna http://morefedora.blogspot.com htt

Re: How to setup the django progject to apache2

2011-05-01 Thread Gianluca Sforna
an a django question, however I think you're missing to let the server actually listen on port 9000. Try adding a line like: Listen 9000 outside your virtualhost directive. See http://httpd.apache.org/docs/2.2/bind.html#virtualhost for details -- Gianluca Sforna http://morefedora.blogspo

Re: Using Q objects vs explicit filters

2011-04-14 Thread Gianluca Sforna
" WHERE NOT ("molserv_parent"."id" IN (SELECT U1."parent_id" FROM "molserv_child" U1 WHERE (U1."gender" = f AND U1."parent_id" IS NOT NULL))) -- Gianluca Sforna http://morefedora.blogspot.com http://identi.ca/giallu - http://twitte

Re: Using Q objects vs explicit filters

2011-04-14 Thread Gianluca Sforna
D U1."parent_id" IS NOT NULL))) In [18]: f2 = Parent.objects.exclude(q) In [19]: print f2.query SELECT "molserv_parent"."id", "molserv_parent"."name" FROM "molserv_parent" INNER JOIN "molserv_child" ON ("molserv_parent"

Using Q objects vs explicit filters

2011-04-13 Thread Gianluca Sforna
y the second syntax yields the desired result set. Are the above forms supposed to produce comparable queryset? Thanks in advance G. -- Gianluca Sforna http://morefedora.blogspot.com http://identi.ca/giallu - http://twitter.com/giallu -- You received this message because you are subscribed t

Re: Django app for data management and visualization

2011-04-05 Thread Gianluca Riccardi
ally if you can get rid of dealing with spreadsheets and automate it I'm sure users will be happier(you at first;) if You start a public git repo i'd like to read your progresses regards, Gianluca Riccardi -- You received this message because you are subscribed to the Google Grou

Re: Django app for data management and visualization

2011-04-05 Thread Gianluca Riccardi
I don't > want the user to touch the main web site when adding modules and > views. Hello, probably you already know of it http://graphite.wikidot.com/ regards, Gianluca Riccardi -- You received this message because you are subscribed to the Google Groups "Django users" g

Customize inlines in django admin

2011-02-20 Thread Gianluca Pacchiella
Hi folks, I have a problem with an admin inline form for a model having a ManyToMany field: the default is to visualize a select having as options all the instances available for that kind of model, with a plus button to create a new one on the fly. My problem is I want only to add the object c

Problem with restructuredtext filter

2010-02-22 Thread Gianluca Pacchiella
I have written for a personal django app (actually a blog), a new restructured text role that allows to use TeX syntax and rendering math formulas; the problem is that I don't want to allow this in comment. To avoid to load the TeX related role I use the following snippet of code where I delete the

Strange behaviour of FileField in FormWizard

2009-05-15 Thread Gianluca Pacchiella
I implemented a form wizard to import bookmarks from various website or from a file: the first form selects the type of the import and, in case I want to import from a BibTeX file, the second form is a FileField where I have to indicate the path of the file containing the reference to parse. In t

Re: Django books application i18n

2007-07-08 Thread Gianluca
iled out at > http://www.djangoproject.com/documentation/i18n/ > > -joe > > On 7/6/07, Gianluca <[EMAIL PROTECTED]> wrote: > > > > Hello, > > I'm following the Django tutorial about books application. How can I > > internationalize this application? > > Fo

Django books application i18n

2007-07-06 Thread Gianluca
Hello, I'm following the Django tutorial about books application. How can I internationalize this application? For example, how can I internationalize a field name of insert book form? Thanks Gianluca --~--~-~--~~~---~--~~ You received this message becaus