[ANNOUNCE] Django 1.7 alpha 1 released

2014-01-22 Thread James Bennett
Yup, we're on the way to 1.7! Check out the blog post (which mentions a couple of important issues to be aware of *before* trying out the alpha): https://www.djangoproject.com/weblog/2014/jan/22/django-17-alpha-1-released/ And the in-progress 1.7 release notes for a full rundown of what's going

Re: ec2 using bitnami djangostack: application never loads; browser just hangs

2014-01-22 Thread Dylan Bumford
Thanks. I've checked apache's error_log, and it doesn't report anything unusual. The access_log reports about four hundred GET requests that look sort of like this: 10.73.205.233 - - [22/Jan/2014:18:07:34 -0500] "GET /img/ami-lower-container.png HTTP/1.1" 304 - 10.73.205.233 - -

Django Model Primary Key help please...

2014-01-22 Thread Amit Masaun
Hi, I am trying to port over something to Django/Postgresql that I built on Asp.Net/MSSQL and I was hoping someone could give me some direction on manual creation of Primary Key key columns in Django models. What I would like is to have a BIGINT Primary Key value that is unique across all my

Re: Presentation ideas?

2014-01-22 Thread Charly Román
Needs Silverlight :( 2014/1/22 Keith Edmiston : > John/Russell, > > Here's a link to my presentation in case you're interested. Thanks again for > the leg up. > > > Keith > > > On Fri, Jan 17, 2014 at 12:17 PM, John DeRosa wrote: >> >> I’m glad Russ

Re: Cannot import name execute_manager

2014-01-22 Thread Mike Dewhirst
On 23/01/2014 5:36am, Maurice J Elagu wrote: yes, its actually 1.6.1 How could i sort this problem out?? The link opens the release note for 1.4 which itself explains what to do. Usually when Django deprecates a method, the replacement is simultaneously implemented so developers can adjust

Re: Save to User table first_name and last_name from a page with a different form

2014-01-22 Thread Brad Rice
I think I figured it out. The user is on the reuqest so it was pretty easy. def form_valid(self, form): obj = form.save(commit=False) obj.created_by = self.request.user obj.application_id = self.kwargs['app_id'] u = self.request.user u.last_name =

Re: Presentation ideas?

2014-01-22 Thread Keith Edmiston
John/Russell, Here's a linkto my presentation in case you're interested. Thanks again for the leg up. Keith On Fri, Jan 17, 2014 at 12:17 PM, John DeRosa

Re: Error in Django Admin When I try to add.

2014-01-22 Thread Jonathan Pentecost
Is your "API_dispatcher" url before or after the admin url? On Wednesday, 22 January 2014 08:50:14 UTC+11, Dharwin Perez wrote: > > I was trying to make a API Dispatcher, but when i try to add anything in > Django Admin, run APIdispatcher and return Bad Request. I think that is > some in the

Re: Cannot import name execute_manager

2014-01-22 Thread Maurice J Elagu
yes, its actually 1.6.1 How could i sort this problem out?? On Wed, Jan 22, 2014 at 10:44 AM, Mike Dewhirst wrote: > On 22/01/2014 6:36pm, Mike Dewhirst wrote: > >> On 22/01/2014 6:16pm, MAurice wrote: >> >>> Hello django users, >>> I have a problem when i try to sync my

debugging

2014-01-22 Thread Ankit Singh
i got this error when trying to use* pyhto**b**n manage.py syncdb* what does it mean? Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/home/user/it/local/lib/python2.7/site-packages/django/core/management/__init__.py", line

Re: debugging

2014-01-22 Thread Larry Martell
On Wed, Jan 22, 2014 at 10:18 AM, Ankit Singh wrote: > i got this error when trying to use pyhtobn manage.py syncdb what does it > mean? > File > "/home/user/it/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", > line 17, in > raise

Re: ec2 using bitnami djangostack: application never loads; browser just hangs

2014-01-22 Thread Andreas Kuhne
1. Have you checked all of the access logs and error logs when the app is started? Is your request getting served by modwsgi, or is it stuck in apache? 2. Start the application with DEBUG=True in settings, to see if you get any information from the app. Thats where I'd start. Regards, Andréas

ec2 using bitnami djangostack: application never loads; browser just hangs

2014-01-22 Thread Dylan Bumford
I used the Bitnami Djangostack AMI to set up a Django environment with apache2 and mod_wsgi on a free instance provided by Amazon's EC2. The django app is installed at /opt/bitnami/apps/django/django_projects/mysite, alongside the default Project application that comes with the stack. The app

Save to User table first_name and last_name from a page with a different form

2014-01-22 Thread Brad Rice
I have a registration and login page that only takes username and password. After they register or login, they are taken to a profile form where they can provide additional information such as address and phone numbers. I'm using a Model Form CreateView there. On that page I want the First Name

Read geometry column in geography field

2014-01-22 Thread jorgearevalo
Hello, I want to read a PostGIS geometry column using a model that contains a geography field. Is it possible? The reason why I need to do it that way is because I just have read access to that table, and I need to run distance queries using it. I'd prefer to avoid writing raw queries, and use

Re: django with no relational db?

2014-01-22 Thread Tim Chase
On 2014-01-22 09:07, Rafael E. Ferrero wrote: >> I will have web pages, d3.js, authenticated users and sessions. > > Are you tried nikola ? maybe works for > you... its for flatpages. While I will say that I love a lot of things about Nikola, it doesn't meet the OP's

Re: Saving models with NOT NULL ForeignKeys referencing each other

2014-01-22 Thread antialiasis
It didn't occur to me that this could be done with transactions, but in retrospect it seems obvious. Thanks for the quick response. On Tuesday, January 21, 2014 12:43:28 PM UTC, Russell Keith-Magee wrote: > > > On Tue, Jan 21, 2014 at 6:54 PM, antialiasis > wrote: > >> Hi,

Re: django with no relational db?

2014-01-22 Thread Rafael E. Ferrero
Are you tried nikola ? maybe works for you... its for flatpages. Also you can find his author on pyar google groups See you Saludos Cordiales, -- Rafael E. Ferrero 2014/1/22 graeme > You do lose a lot without a

Re: django with no relational db?

2014-01-22 Thread graeme
You do lose a lot without a relational DB: model forms, auth, admin. I think sessions should work as long as you do not use the DB backend. You could try django-nonrel: http://django-nonrel.org/ I have never tried it myself but from the documentation it seems to keep a lot more of the