Django Modules for comparative "shopping cart" and data analysis

2014-01-06 Thread Frank Jaworski
Hello, Given the task of creating an application that presented the user with a pseudo-shopping cart they could add and subtract to see the potential cost and savings over a period time with graphing and analysis of said comparisons, what does Django have to offer in terms of existing modules?

Deploying to Heroku for first time, Dynos is blank, not recognizing Procfile

2014-01-06 Thread Scott Meyers
Programming newb, Trying to use Heroku for the first time for a Django app. After I push it to Heroku, the Dynos field is blank. I expected to see my procfile: web: python manage.py runserver 0.0.0.0:$PORT --noreload Of course, when I try to open the application on Heroku, I get: An error occ

Broken links even after change the site information

2014-01-06 Thread Carlos Quiros
Hello. I have a Django application running in my server http://data.ilri.org/formhub However the links of the application are broken for example *http://data.ilri.org/accounts/register/* instead of *http://data.ilri.org/formhub/accounts/register/ * I been looking on the internet and also con

report

2014-01-06 Thread fabricio
I am creating a report and I would like to show me when a message was being processed in my view http://pastebin.com/RFuefdRu I'm using blockUI when I click the print button I do not know if this right way to do thiscode javascript http://pastebin.com/0eRRWybL if someone can help me

Re: Django manage.py returns ValueError: zero length field name in format

2014-01-06 Thread Jaimin Patel
Its highly recommended that you use Python 2.7. It should resolve the issue. Thanks. On Sunday, January 5, 2014 8:50:06 PM UTC-5, Carlos Quiros wrote: > > Hi, > > I am trying to run a Django application in Python 2.6.6 Django==1.5.5 . > But when I try to run > > *python manage.py* > > I get: > >

Seperate fields for SelectDateWidget in template

2014-01-06 Thread voger
I have Googled a lot but I can't find an answer. I want to use SelectDateWidget in one of my forms but I want the select boxes in separate divs so I can use them with Zurb Foundation. With all the other widgets it is easy. For example I can do {{ form.username.label_tag }}

Re: Django manage.py returns ValueError: zero length field name in format

2014-01-06 Thread Jaimin Patel
Here you can read it, https://docs.djangoproject.com/en/dev/releases/1.5/#python-compatibility though I agree that is should be working fine with your current setup as it does mention that its compatible with 2.6.5+. However, if its not too much trouble just update to 2.7 and it should work fin

Looking for a full time Django/Python job (Rochester, NY area OR remote)

2014-01-06 Thread Adam Stein
As I can't relocate, I'm looking for something either in the Rochester, NY area OR remote. I've been using Django for professional and personal use for about 6 years. Check out my LinkedIn page (www.linkedin.com/in/adamestein/ ) for more details about my skills and work history. A resume is avai

Re: VERY cheap django hosting?

2014-01-06 Thread Дмитрий Вержиковский
I use digitalocean.com . For only 5$/month you get a great quick ssd hosting. среда, 8 июня 2011 г., 9:30:17 UTC+3 пользователь raj написал: > > Hey guys, > Just wondering if you could give me some hosts that are very cheap for > django hostin

Re: wait message

2014-01-06 Thread Derek
Have a look at this SO Q&A: http://stackoverflow.com/questions/7554405/wait-for-a-file-using-jquery You should be able to easily write a server-side function in Django that can check for the existence of the file... On Sunday, 5 January 2014 15:27:13 UTC+2, fabricio wrote: > > But my process is

Re: VERY cheap django hosting?

2014-01-06 Thread Mark Moss
Try instant Django Hosting by Gigapros.com ==> *http://www.gigapros.com/portal/django-hosting* Don't waste your time on installation. Just start using django framework out-of-the-box! - Mark On Wednesda

Re: ViewDoesNotExist at /admin/

2014-01-06 Thread Gabriele Stoia
Hi, I fixed my problem changing the .fcgi file like this: *#!/usr/bin/eval PYTHON_VERSION=2.6 DJANGO_VERSION=1.5.4 pythonimport os, syssys.path.append('/home/path/to/myproject/')#_PROJECT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))//delete this line#sys.

Re: test driven development and mixin for views

2014-01-06 Thread Sven
Hi Arun, thanks for this advice. I finally came also to the conclusion that the best test would be to create (as part of each test case) all possible use case szenarios for this mixin class. For instance if it should be utilizable for ListView and CreateView then i would create unit tests again

How do I save my scrapped data to my Database

2014-01-06 Thread yesplorer
Hi everyone, I'm using Django 1.5, Python 2.7 on windows 7. I have the following view that extracts and display links from various sources. It works ok. But I don't know how to: 1. save the data to the database and 2. sort it by date extracted. I hope someone could help me here. views.py: d

Re: Embedding images like on Quora

2014-01-06 Thread Vibhu Rishi
Hi Arun Thanks man. This is also interesting. However, I dont really want to download the web and autolink the image ( as how it is in facebook - though I think now that I know i would want to try it out also). What I want to achieve is that if there is an image which a person has hosted on googl

Re: test driven development and mixin for views

2014-01-06 Thread trojactory
Hi sassman, Since you mentioned TDD, I assume you are talking about unit tests. As with any matter in quality control, the more you can test, the better! In my opinion, you would need to provide atleast one testcase for each of the four CBV views. It is better to create a derived class in each

Re: Embedding images like on Quora

2014-01-06 Thread trojactory
Hi Vibhu, This works automatically for certain sites if they implement a standard called oEmbed (http://oembed.com/). Several sites like Flickr, Youtube etc support providing a thumbnail for a url within their domain. Django has several packages which support oEmbed, of which, I have used micaw

Re: Embedding images like on Quora

2014-01-06 Thread Vibhu Rishi
some more details of what I am looking for : Its a forum kind of thing. So, the model has a TextField where user can type whatever text he wants which can include urls and images. for urls, i can use a template filter like urlize I want something similar for images ( imgize ? ) V. On Mon, Jan

Embedding images like on Quora

2014-01-06 Thread Vibhu Rishi
Hi, Is there a way to have images show up by just pasting a url ? e.g. on Quora, if i paste a url to an image - http://www.brothersthegame.com/core/media/images/brothers_europe05_big.jpg it shows up as an image not as a URL. How can I achieve the same using django ? Regards, Vibhu -- Simplici

Re: Can't Install on Windows 8.1

2014-01-06 Thread Mike Dewhirst
Malik I'm confused. What are you doing with GAE and Windows 8.1? Have you given up Windows? Also, I think you will fare better with Pillow rather than PIL. It seems PIL is no longer being supported and Pillow has taken over. Mike On 5/01/2014 11:57pm, Malik Rumi wrote: This is just an upd