Problems with SSL(django-sslserver)

2014-04-03 Thread malhar
I am using Django 1.6.2 in virtualenv, Ubuntu 12.04 LTS. As I wanted to shift my project to https, I installed django-sslserver. The project needs self signing, and works fine for Home Page. However, apps in my django project encounter problems. Not all pages are redirected to https, and hence

Re: Use custom HTML to render forms

2014-04-03 Thread Fred DJar
Thanks for the response. i think that you understand my problem and my question. so to clarify thinks in my case i should do this for example: in my html i have this: and i should declare my email parameter like this: email

Re: Use custom HTML to render forms

2014-04-03 Thread Fred DJar
I ve posted my question and waited 5 days and it seems that my post got lost and people didn't pay attention to it but when i added my reply asking for help people generously replied to my question and i thank them for that. iam sorry but your reply is irrelevant and you're just being mean!! On

Re: Use custom HTML to render forms

2014-04-03 Thread Fred DJar
but i have other tags in my html like and !! how can i render them ?? On Wednesday, 2 April 2014 03:49:39 UTC+1, somecallitblues wrote: > > You can use {{form.field_name}} to render the input tag, > {{form.field_name.label}} to render the label > and {{form.field_name.errors}} to render field

Re: Use custom HTML to render forms

2014-04-03 Thread Fred DJar
actually i want the exact opposite i want to KEEP my html with all the tags like and On Tuesday, 1 April 2014 02:53:00 UTC+1, Nikolas Stevenson-Molnar wrote: > > It depends on what you want to do. If you want to override/replace the > form in base.html, then place the block tag around the fo

django-cms context_processors.media has been deprecated

2014-04-03 Thread Tameen Malik
This below command errors generates when i run my program with this command python manage.py runserver /usr/local/lib/python2.7/dist-packages/cms/context_processors.py:20: DeprecationWarning: cms.context_processors.media has been deprecated in favor of cms.context_processors.cms_settings

How to use inspectdb command for postgres table in Django

2014-04-03 Thread Shoaib Ijaz
I am trying to generate Model class from postgres table, this table contain some geometry type column. I am using following command for Model creation python manage.py inspectdb But facing this error Exception: Could not find a geometry or geography column for "accommodation"."geometry" th

Re: Problems with SSL(django-sslserver)

2014-04-03 Thread shmengie
django-sslserver is only for development purposes... I've not used django-sslserver, so I can't comment on it. I've used local apache server for testing. It's not terribly difficult to configure apache or nginx for self signing or commercial certs. Though I do find google necessary for that

Video chat software in a django website

2014-04-03 Thread Saransh Mehta
Hi, I want to include a video chat software for the users in my django websites. Any suggestions? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+

Re: Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-04-03 Thread Giovanni
Documentation states: - syncdb has been deprecated and replaced by migrate. Don’t worry - calls to syncdb will still work as before. But when I run $ python manage.py syncdb, it stops with a django.utils.deprecation.RemovedInDjango19Warning. So I can't seem to use syncdb eithe

Re: Video chat software in a django website

2014-04-03 Thread Avraham Serour
this is out of the scope for django, if you have a html5 js client for example, django would serve it but that's it, the client would actually do the chatting part On Thu, Apr 3, 2014 at 5:10 PM, Saransh Mehta wrote: > Hi, > I want to include a video chat software for the users in my django > we

Re: ORM Question

2014-04-03 Thread Bill Freeman
>From the lack of other folks jumping in saying "do it this way", I'm going to guess that this is a hard problem. I am not a database heavyweight. (IANADbH) I especially don't know about limitations of MySQL. It seems that you need to calculate a maximum size of Llama objects, but separately for

Re: Problems with ManyToManyFields from Base and Derived Classes

2014-04-03 Thread Alessandro Caruso
I got the traceback (thanks to a middleware which collects it and a send it back to the ajax request even if DEBUG=False) Environment: Request Method: POST Request URL: http://server:8080/assets/edit/videoconference/30 Django Version: 1.4.5 Python Version: 2.7.3 Installed Applications: ('djang

Re: Problems with ManyToManyFields from Base and Derived Classes

2014-04-03 Thread Liam J Thompson
Hi Alex Let me have another look through your code and I'll try to come up with something useful. Liam On 03/04/2014 18:20, Alessandro Caruso wrote: I got the traceback (thanks to a middleware which collects it and a send it back to the ajax request even if DEBUG=False) Environment: Re

Kansas City Python

2014-04-03 Thread Tom Holt
Currently needing a Python Django Developer for Kansas City. Email Resume to t...@bgcs.com for immediate consideration Minimum Qualifications: • Bachelor's degree in CIS, MIS, IS, Computer Science, Engineering or equivalent • 4+ years web development work experience • Significant experience with

Django 1.5.4 sql generation just generates one model field (PostgreSQL)

2014-04-03 Thread Jorge Arevalo
Hello, I have this dummy models.py from django.db import models class Foo(models.Model): bar = models.IntegerField(), // more integer fields here... xyz = models.IntegerField() And I want to know the SQL code generated for PostgreSQL, executing: python manage.py sqlall myapp No so

Re: Django 1.5.4 sql generation just generates one model field (PostgreSQL)

2014-04-03 Thread François Schiettecatte
You have a comma at the end of this: bar = models.IntegerField(), Could that be the issue? François On Apr 3, 2014, at 6:24 PM, Jorge Arevalo wrote: > Hello, > > I have this dummy models.py > > from django.db import models > > class Foo(models.Model): > bar = models.IntegerFiel

Re: Django throws ImproperlyConfigured error when loading URLconf on startup

2014-04-03 Thread Max Demars
Greetings, I encounter the same error here. In latest gunicorn release, it's not possible anymore to deploy gunicorn/django the old way doing python manage.py run_gunicorn, so I'm stuck...I'd like to know if someone found what causes this error. -Max Demars On Wednesday, November 28, 2012 6:0

Re: Django throws ImproperlyConfigured error when loading URLconf on startup

2014-04-03 Thread Lachlan Musicman
Are you using Debug toolbar? Try this: http://stackoverflow.com/questions/20963856/improperlyconfigured-the-included-urlconf-project-urls-doesnt-have-any-patte cheers L. On 4 April 2014 11:14, Max Demars wrote: > Greetings, > > I encounter the same error here. In latest gunicorn release, it's

Re: Django 1.5.4 sql generation just generates one model field (PostgreSQL)

2014-04-03 Thread Jorge Arevalo
Absolutely! It's working now. What a stupid mistake... Many thanks! On Friday, April 4, 2014 12:34:38 AM UTC+2, François Schiettecatte wrote: > > You have a comma at the end of this: > > bar = models.IntegerField(), > > Could that be the issue? > > François > > On Apr 3, 2014, at 6:24

Re: Problems with ManyToManyFields from Base and Derived Classes

2014-04-03 Thread Alessandro Caruso
Thanks Liam Il giorno giovedì 3 aprile 2014 19:05:28 UTC+2, Liam Thompson ha scritto: > > Hi Alex > > Let me have another look through your code and I'll try to come up with > something useful. > > Liam > > > > > On 03/04/2014 18:20, Alessandro Caruso wrote: > > I got the traceback (thanks to