Django Forms and Twitter Bootstrap - Add fieldset, div wrapper and CSS labels to Django Forms?

2011-12-11 Thread Victor Hooi
Hi, I'm attempting to use Django forms with Twitter's CSS library Bootstrap (http://twitter.github.com/bootstrap/): The default form outputted by {{ form.as_p }} doesn't seem to be enough to be formatted nicely with Bootstrap. You need to add a , as well as class="control-label" to each . So

Re: Setting up django-sentry?

2011-12-11 Thread Alan
I got it working. I didn't turn off DEBUG in settings, so exceptions weren't being caught by sentry (i.e., django was reporting them with the debug template..) On Dec 11, 8:35 pm, Ezequiel Bertti wrote: > show the log configuration of your monitored application > > > > > > > > > > On Mon, Dec 12

Re: working with forms , problem !!!

2011-12-11 Thread Mario Gudelj
Try using this: d = {'form':form} d.update(csrf(request)) return render_to_response('contact.html',d) Tip: don't use !!! or ??? in your emails when asking for help :) On 12 December 2011 08:30, Hassan wrote: > Dear All , > am trying to make a form and i used an example from the book but its

Re: Setting up django-sentry?

2011-12-11 Thread Ezequiel Bertti
show the log configuration of your monitored application On Mon, Dec 12, 2011 at 00:28, Alan wrote: > Did anyone have any trouble setting up django-sentry? > > I followed the instructions for the 'integrated' (i.e., client = > server) approach here: > http://sentry.readthedocs.org/en/latest/inst

Setting up django-sentry?

2011-12-11 Thread Alan
Did anyone have any trouble setting up django-sentry? I followed the instructions for the 'integrated' (i.e., client = server) approach here: http://sentry.readthedocs.org/en/latest/install/index.html And everything I find online says it's just supposed to caught exceptions by default. I created

Re: Best way to upload and play a video

2011-12-11 Thread Mengu
if you are having problems with the django basics then you have to re- do the django tutorial at https://docs.djangoproject.com/en/1.3/intro/tutorial01/. here is your work flow: * create your django application. * create your models. * build an upload form. * get the user input. * save it to you

Re: Best way to upload and play a video

2011-12-11 Thread Hassan
i want to use a normal flash player , and after i make the models do i need to make somthing else so i can upload files , and i having a problem of how making a form that can fill a table in models !!! am new to djang :( -- You received this message because you are subscribed to the Google Groups

working with forms , problem !!!

2011-12-11 Thread Hassan
Dear All , am trying to make a form and i used an example from the book but its not working , dont know why ? this is what i have : models.py : from django.db import models from django import forms class ContactForm(forms.Form): subject = forms.CharField(max_length=100) message

Re: Best way to upload and play a video

2011-12-11 Thread Reinout van Rees
On 11-12-11 19:54, Hassan wrote: Dear ALl , i am having some problems in understanding uploading in django , i want to upload videos and play them , what is the best way to do that ? In principle, you'll need a model with a filefield. This'll store the actual uploaded video file in the medi

Best way to upload and play a video

2011-12-11 Thread Hassan
Dear ALl , i am having some problems in understanding uploading in django , i want to upload videos and play them , what is the best way to do that ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-

Re: Query with no-correspondence results

2011-12-11 Thread wgis
hmm.. I did not take that into consideration. I'm using MySQL. That's unfortunately, indeed it was doing what I asked for. Well, thank you both. My project is more in tune now. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Re: List of Django release dates?

2011-12-11 Thread Karen Tracey
On Sun, Dec 11, 2011 at 8:03 AM, Tim Chase wrote: > but extracting it from django-dev mail archives would have taken a LOT of > the aforementioned spelunking. Reading the weblog starting from back in 2005 is kinda fascinating though. Did you know the Django session cookie name used to be "hotclu

RE: rendering CSV in response; need a little help

2011-12-11 Thread Sells, Fred
Thanks for all the solutions. I've saved them all for future reference but decided to go with using the HttpResponse as a file-like object. -Original Message- From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Tom Evans Sent: Friday, December 09, 201

Re: List of Django release dates?

2011-12-11 Thread Tim Chase
On 12/10/11 23:32, James Bennett wrote: Or just view this handy all-in-one page: https://code.djangoproject.com/log/django/trunk/django/__init__.py Thanks, James...that's what I was hunting and unable to find. I knew the information was around and that releases were announced, but extractin