Re: How do I test my Django App on my Phone

2013-12-13 Thread Muhammad Ali
Hello, I'm very sorry for the delay in letting you both know how it worked out for me. I first tried Cook's method and signed up for the NO-IP service. But for some reason, I could not reach my local server from my phone's browser using the URL that I created there. (But I could access the URL

Re: intiial sql and foreign keys

2013-12-13 Thread Tom Lockhart
On 2013-12-13, at 1:48 PM, Larry Martell wrote: > I have 2 tables that I need to initialize with some initial sql files. > One table has a foreign key reference into the other. The docs say > "Note that if you have multiple SQL data files, there’s no guarantee > of the

intiial sql and foreign keys

2013-12-13 Thread Larry Martell
I have 2 tables that I need to initialize with some initial sql files. One table has a foreign key reference into the other. The docs say "Note that if you have multiple SQL data files, there’s no guarantee of the order in which they’re executed." So what can I do here? I obviously need the table

Re: charfield primary key contentype error

2013-12-13 Thread Mike Dewhirst
On 13/12/2013 9:13pm, Hervé Edorh wrote: Hi, I have a problem with a charfield foreign key. this my model class Region(models.Model): """ Class décrivant la table Region """ code_region = models.CharField(max_length=15, primary_key=True) name =

Re: Executing transaction with serializable isolation level

2013-12-13 Thread caecilia
I am trying to do sth similar with different versions but the problem remains the same, did you find a way to overcome this issue? On Monday, January 25, 2010 9:26:30 PM UTC+1, Paweł Roman wrote: > > Hi everyone > > I'm using django with Postgres 8.3, and have just one quesiton: Is it > possible

Re: Prototype of an Online Voting System (I need some constructive criticism here)

2013-12-13 Thread Amimo Benja
Amirouche, the recommendations are actually great. I new to Django and Python, so how to implement them exactly as you recommend to me is a little bit difficult. Can you please fork the repository and update the code so that I can view how you have implement the changes, if that is fine with

Re: _mysql_exceptions.ProgrammingError: (2014, "Commands out of sync; you can't run this command now")

2013-12-13 Thread Roopa singh
Hi Guys, Any update on this? On Thu, Dec 12, 2013 at 12:40 PM, wrote: > I am working on a django project.I logged in as normal user in my laptop > with centos,but via command prompt i logged in as root and installed python > 2.7,django and other supporting

Re: Prototype of an Online Voting System (I need some constructive criticism here)

2013-12-13 Thread Amirouche Boubekki
- «vq_chc.final_count += final_count» works well. > You need to use Django update or the operation is not atomic. -- 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

Re: Django Data Visualization

2013-12-13 Thread Odagi
Not related to Django but maybe you can take a look at this visualization tools http://datavisualization.ch/tools/selected-tools/ Good luck. On Friday, December 13, 2013 8:14:44 AM UTC-3, +Emmanuel wrote: > > I am looking at creating a Django data visualization app, an idea that > closely

Re: Django Data Visualization

2013-12-13 Thread Dow Street
I'm not familiar with django-boxes, but one architectural question is whether you want to render the graphs on the server (e.g. python) or in the browser (e.g. javascript). If you render on the server, you could use something like matplotlib (python) to draw your graphs, and then push those

Re: Prototype of an Online Voting System (I need some constructive criticism here)

2013-12-13 Thread Amirouche Boubekki
Héllo Amimo, 2013/12/13 Amimo Benja > simple_prototype_of_online_voting_system > == > The name must be shorter. «voting_system» is good for instance > I am new to Django/Python. After a few tutorial, I have tried to develop > this app.

Displaying images in comments/text fields

2013-12-13 Thread Vibhu Rishi
I want to show images in comments or text fields. I looked at markdown - and while it is quite cool for text formatting, it is quite archaic for image display. Also it does not do any resizing so some large images go out of bounds. So, can you guys guide me to some good template filter utility

Prototype of an Online Voting System (I need some constructive criticism here)

2013-12-13 Thread Amimo Benja
simple_prototype_of_online_voting_system I am new to Django/Python. After a few tutorial, I have tried to develop this app. However, I need some constructive criticism as the app needs to be made better and improved. Please view it and highlight the

External API call is rejected when using gunicorn

2013-12-13 Thread R R
Hi, I was using SOAP API successfully on my development machine, and it worked as expected when I was trying out on my VPS. I was using *django runserver* until this point, but when I ran it with gunicorn, the service started to reject the calls. The response is in XML format, but when it's run

Django Data Visualization

2013-12-13 Thread +Emmanuel
I am looking at creating a Django data visualization app, an idea that closely resembles this: http://preview.jumpstartthemes.com/canvas-admin/chart-morris.html The idea is to have 'regions' that are database controlled, pulling data from the database and presenting it in user friendly charts

Re: UpdateView and ImageField style

2013-12-13 Thread BikerJim
Hi Jonathan, Thanks a lot for the pointer (it was something obvious!), I now have it working and without the extraneous HTML, and I can now style it to be much prettier, yippee. :) I had to do one extra little thing to make it work (with my template / model setup), i.e. specify the model in

charfield primary key contentype error

2013-12-13 Thread Hervé Edorh
Hi, I have a problem with a charfield foreign key. this my model class Region(models.Model): > """ Class décrivant la table Region """ > code_region = models.CharField(max_length=15, primary_key=True) > name = models.CharField(max_length=25,null=True,blank=True) > > >