Re: Insane sql logging

2013-01-15 Thread Matteo Suppo
Good question. We decided not to do it at database level because we didn't want to write every select on the file, but only the update/insert/delete. Probably it was better that way, though, and clean the file later. Matteo Suppo - Social Media Badass "C'รจ sempre un altro modo" &q

Insane sql logging

2013-01-15 Thread Matteo Suppo
Sometimes people ask for strange features, like "I want to log every database query except select". There will be drawbacks, of course: it will be slower, for example, but they won't care. It happened to us, and we had to ship this insanity: import logging from logging.handlers import

Re: Generating HTML code

2013-01-12 Thread Matteo Suppo
I use http://foundation.zurb.com/ or http://twitter.github.com/bootstrap/ They don't generate html but they help build pages faster. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

Re: Facebook like button in django

2012-10-11 Thread Matteo Suppo
You want to add a Facebook share button that lets people share things on Facebook but also save what they are sharing on your database? On Thursday, October 11, 2012 9:50:54 PM UTC+2, David Gomez wrote: > > How can I create a Facebook Share button in django? I would like something > like this:

Re: Django-cms + Wymeditor + Heroku + AWS s3 + Cors

2012-10-11 Thread Matteo Suppo
I found this: http://comments.gmane.org/gmane.comp.python.django.django-cms/1202 and I decided to use tinymce for now. It's not solved though. I will do something, maybe. On Thursday, October 11, 2012 7:25:19 PM UTC+2, Matteo Suppo wrote: > > Ok, here's a fun one. > > I set

Re: Django-cms + Wymeditor + Heroku + AWS s3 + Cors

2012-10-11 Thread Matteo Suppo
-across-subdomains-cross-site-permission-issue Hmm I'll try it On Thursday, October 11, 2012 7:25:19 PM UTC+2, Matteo Suppo wrote: > > Ok, here's a fun one. > > I set up a django installation on Heroku, added the django-cms app, > deployed on heroku, and collected the stat

Re: Django admin - store small pieces of data

2012-10-11 Thread Matteo Suppo
> > I would like to add to panel admin new position only with edit view where > user can fill couple of text fields I don't understand what you're saying here, but for the rest it appears to me that maybe this could help you: http://www.djangopackages.com/packages/p/django-flatblocks/ On

Django-cms + Wymeditor + Heroku + AWS s3 + Cors

2012-10-11 Thread Matteo Suppo
Ok, here's a fun one. I set up a django installation on Heroku, added the django-cms app, deployed on heroku, and collected the static files on AWS. The problem is Django-CMS tries to load the js file for the wymeditor but AWS says: MLHttpRequest cannot load

c9.io and django admin - the quest for missing templates

2012-10-09 Thread Matteo Suppo
So I'm trying to develop with https://c9.io/ It's basically an online development suite, with terminals and editor and stuff. I installed django via pip and tried something with the admin, but I got this ugly error: TemplateDoesNotExist at /admin/ admin/login.html YES, I added the

Re: app for kickstarter-like goals

2012-10-03 Thread Matteo Suppo
I just wanted to be sure there wasn't already something. So, since I found nothing, I guess I'll start build it. See ya and Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

app for kickstarter-like goals

2012-09-30 Thread Matteo Suppo
I'm developing a website for a non-profit organization. They want something similar to kickstarter, only based on people instead of money. Let's say there's an event. A birthday. If 5 people preorder the ticket there will be a clown* If 10 people preorder the ticket there will be a clown