Re: [django-users] Error when registering a new user - Django 1.5

2013-03-23 Thread Russell Keith-Magee
Variations on this problem report have been made a couple of times UserCreateForm is a ModelForm. That means the line in your Meta clause for model=get_user_model() is invoked at the time the module is loaded. However, there's no guarantee at the time that module is loaded that the user model has

Re: TDD with Django/Splinter/plupload queue

2013-03-23 Thread Daniel França
Hi guys, Thanks for the answers. I'm gonna have a look in this phantomjs, I think it does what I need. Best, Daniel França On Wed, Mar 20, 2013 at 4:39 PM, Elliot Bradbury wrote: > PhantomJS is a headless webkit browser that can be programmed to perform > automated webpage tasks (like maybe sele

Re: Python problem

2013-03-23 Thread Mario Gudelj
Looks like you are trying to run terminal commands inside python shell. Don't go to pyhon shell to run them. Run them in DOS On 24 Mar, 2013 9:38 AM, "James" wrote: > haha sorry for got to post, > > windows 7 running on activepython 2.7.2.5 > (path is under python27) > > Microsoft Windows [Versio

Re: Python problem

2013-03-23 Thread James
haha sorry for got to post, windows 7 running on activepython 2.7.2.5 (path is under python27) Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\James>python ActivePython 2.7.2.5 (ActiveState Software Inc.) based on Python 2.7.2 (defau

Re: Python inside Django

2013-03-23 Thread Shawn Milochik
You can completely eliminate Django from your thinking about the problem. This is a pure Python question. A Python file being within a Django project changes nothing about how Python imports code. Either you're importing something on your Python path or you're doing a relative import. If your impo

Re: Create Django web apps with drag and drop interface builder

2013-03-23 Thread timothy crosley
Thanks for the checking the project out and for the advice! I am hoping to add more and more documentation over the next few weeks, in addition to possibly some screen casts. I will look into how to best support bootstrap (and foundation) within the framework, as your right a lot of people are

Re: Create Django web apps with drag and drop interface builder

2013-03-23 Thread Avraham Serour
This looks nice but the documentation is lacking yet I hope your projects success (also the desktop GUI builder) If I may make a suggestion, keep in mind that today people use bootstrap (and foundation ), the framework could support that. and also it could make it easy

Create Django web apps with drag and drop interface builder

2013-03-23 Thread timothy crosley
Hi, For the last few years I have been working on a WebApplication framework designed to let you build complex web apps using a drag and drop interface builder and pure python code. I have just now released it to the public and would really like feedback and opinions. You can see it here: www

Re: PostgresSQL or MySql with django?

2013-03-23 Thread frocco
I Just downloaded a product called RazorSQL http://www.razorsql.com This product has conversion from MySql to Postgresql. Works great. On Monday, March 18, 2013 11:30:35 AM UTC-4, frocco wrote: > > Hello, > > What is the recommended database for django? > > I have used MySQL, but am interested i

Python inside Django

2013-03-23 Thread Felix Wagner
Hello, currently I am writing an application that will run a daemon. However I am stuck: What I have so far: created a project called "ihe", with an app called "devices". Inside devices there is "admin.py", "forms.py", "__init__.py", "models.py", "urls.py", "views.py". There are also several

Re: DB Weirdness

2013-03-23 Thread Tim Cook
Just to complete this issue. I knew it was a silly mistake. I had reconfigured my settings.py according to recommendations from TSD. BUT! I did not delete the original settings.py file. So all the changes I Was making had no effect. Django was using my new settings/dev.py --Tim On Fri, Mar 22,

Re: SQL Server Support - Does it Exist

2013-03-23 Thread Liang
Sadly, django doesn't support sql server officially is the only stopper for me to adopt django. On Friday, 15 July 2011 09:07:23 UTC+8, Russell Keith-Magee wrote: > > On Fri, Jul 15, 2011 at 6:03 AM, bruno desthuilliers > > wrote: > > > > > > On 14 juil, 23:15, Python_Junkie > > wrote: > >> I h

Applying admin site foreign key filters when adding new object

2013-03-23 Thread Branko Majic
Hello, I'm interested what's the proper/best way to restrict foreign keys when adding a new object through the admin interface. For example, let's say I have models like this: class Project(models.Model): name = models.CharField(max_length = 100) class Entity(models.Model): name = model

Re: POSTing JSON to Tastypie from Android

2013-03-23 Thread Pratik Mandrekar
Thanks for the pdb tip Bill! I tried pdb at the point where the request enters Tastypie (based on http://stackoverflow.com/questions/13006901/tastypie-obj-create-method-not-being-called). What I see is that the request.POST and request.raw_post_data are both empty. I posted from Android client

Re: Im having trouble accessing irc.freenode.net

2013-03-23 Thread Bill Freeman
If you are using FireFox, the Chatzilla add-on is easy to get, probably by using the tools menu, choosing "Add-ons" and entering "chatzilla" in the search box on that page. It's not as fancy as some of the IM tools, but you can have it anywhere that FireFox runs, and for IRC, it's pretty trouble f

Re: POSTing JSON to Tastypie from Android

2013-03-23 Thread Bill Freeman
Still, if you have a break point where the request comes in to the view, you can inspect the POST data to see how it differs from what you expect. That might inform you as to what you might do differently in your JavaScript, whether you need some additional or different encoding or quoting of the d

Re: POSTing JSON to Tastypie from Android

2013-03-23 Thread Pratik Mandrekar
The issue is with setting data in the http post request. I have tried it with curl and the web client and it works. CSRF is not the issue, requests work fine without the csrftoken outside of the android client. Pratik On Saturday, March 23, 2013 12:01:21 AM UTC+5:30, ke1g wrote: > > Have you

An alternate cry for help

2013-03-23 Thread Christos Jonathan Hayward
I wrote earlier asking if someone could correct my ignorance to go from Pinax building blocks to a working site. Since then, I searched Safari, and found five references to Pinax, at http://my.safaribooksonline.com/search?q=Pinax . One is a tangent in a Django book I wrote; three are Python books I