Re: Problem with dumpdata and loaddata in python format

2010-08-15 Thread Russell Keith-Magee
On Fri, Aug 13, 2010 at 3:14 AM, Shawn Milochik wrote: > Good question. According to the dumpdata docs, the available formats are here: > > http://docs.djangoproject.com/en/1.2/topics/serialization/#serialization-formats > > And 'python' does indeed show in that list. However, that page does > men

Re: Create files and directories from Django 1.2.1

2010-08-15 Thread Mike Dewhirst
On 16/08/2010 12:57pm, Mike Dewhirst wrote: On 16/08/2010 1:06am, Mark Mooij wrote: Hi Mike, Thanks for your reply. I haven't changed anything else, I am processing the MS updates, but I don't think this is the problem, as this all worked fine before the migration to 1.2.1, also if I call the s

Using localhost in MEDIA_URL causing very slow django

2010-08-15 Thread Martin Lundberg
Hi, I started having a problem on my website when working on it locally using the runserver dev server. If I started the server I could visit a page once (and it loaded quickly) but if I reloaded the page it could take like 10 minutes for it to load. The code didn't even reach the view. I tracked

content_object and comments

2010-08-15 Thread shacker
I'm trying to figure out why this works: >>> comments = Comment.objects.all() >>>[c.content_object for c in comments] [returns a list of the objects the comments are attached to] But this doesn't: >>> c = Comment.objects.filter(id=111) >>> c [] >>> c.content_object Traceback (most recent call l

DjangoDash 2010 is done! Check out the projects done in 48 hours.

2010-08-15 Thread iJames
Hi programmers! I didn't see a posting about DjangoDash so I thought I would mention it since I didn't participate and so I'm awake. And also because I didn't know about it but for a single podcast I happened to listen to. Kudos to the awesome teams who burned up the commits! DjangoDash 2010 wa

Re: Programmatically connecting to a database

2010-08-15 Thread Jonathan Endersby
Hi On 13 August 2010 15:33, Joao Silva wrote: > Your answer is on this blog post: > http://tidbids.posterous.com/saas-with-django-and-postgresql Thanks, that does go a long way to explaining how it can be done. However, I was wondering if it is possible to have code along the lines of [quasi-p

Re: Convert php project into django

2010-08-15 Thread Kenneth Gonsalves
On Sat, 2010-08-14 at 10:31 -0700, Jagdeep Singh Malhi wrote: > but now want to my shift the other php5 work into django. > Is it possible and how? > Is it any tool or help tutorials, which make my work easier? > > since python and php radically differ on the way things are done, it would be mu

Re: Django 1.3

2010-08-15 Thread Kenneth Gonsalves
On Mon, 2010-08-16 at 10:28 +1000, Lachlan Musicman wrote: > As I understand it the Django devs have requested it's integration, > and the > South dev has responded "I would like the South code to be cleaner and > smarter". I could be wrong about this. from what I see on IRC, it does not play wel

Re: Create files and directories from Django 1.2.1

2010-08-15 Thread Mike Dewhirst
On 16/08/2010 1:06am, Mark Mooij wrote: Hi Mike, Thanks for your reply. I haven't changed anything else, I am processing the MS updates, but I don't think this is the problem, as this all worked fine before the migration to 1.2.1, also if I call the script directly (outside Django) it works fine

Re: Django psycopg2 installation issue

2010-08-15 Thread Shawn Milochik
The Python version that ships with Snow Leopard is compiled for 64-bit. Unfortunately, the latest psycopg2 does not work properly, and you'll have to recompile Python for yourself in 32-bit. Here are the instructions: http://shawnmilo.blogspot.com/2009/11/psycopg2-on-snow-leopard.html Incidentall

Re: Django 1.3

2010-08-15 Thread Russell Keith-Magee
On Sun, Aug 15, 2010 at 6:38 PM, DjangoRocks wrote: > I was wondering if South would be added as part of the standard Django > release? Almost certainly not. However, I have spoken with Andrew about getting *parts* of South integrated into Django. If you dig into it, South really consists of thr

Re: Long running process and time outs?

2010-08-15 Thread Javier Guerra Giraldez
On Sat, Aug 14, 2010 at 1:28 PM, ydjango wrote: > I have a online user initiated synchronous process which runs anywhere > between 1-5 minutes and gives user status message at the end. It is a > very DB intensive process that reads and updates lots of mysql rows > and does many calculations. The p

Re: Django 1.3

2010-08-15 Thread Lachlan Musicman
On Sun, Aug 15, 2010 at 20:38, DjangoRocks wrote: > I was wondering if South would be added as part of the standard Django > release? > As I understand it the Django devs have requested it's integration, and the South dev has responded "I would like the South code to be cleaner and smarter". I

Re: running a django app on ubuntu linux server

2010-08-15 Thread Daniel Roseman
On Aug 15, 3:58 pm, Himanshu Srivastava wrote: > Hi > I am a newbie > I want to run simple app in ubuntu linux server > when i do manage.py syncdb it works fine > but as i do manage.py runserver > the server starts reloading and nothing happens > How to make it run > Pls answer soon > Regards. Wh

Re: using adobe forms (fdf) to create PDF

2010-08-15 Thread shmengie
Seems the threads are off on this posting. http://docs.djangoproject.com/en/dev/howto/outputting-pdf/ I found pisa works well for converting html to pdf, however, I resorted to using hideous code as the following: inport ho.pisa as pisa inpt = StringIO() inpt.write(myHtml) inpt.seek(0) outpt = S

Re: Encoding with {% url %} tag

2010-08-15 Thread aa56280
> Does the view code in app.views.blah know what to do with the > iriencode'd values? What does that have to do with anything? Don't get me wrong, I'll figure that out eventually, but at the moment, I'm merely interested in encoding the URL first - which isn't happening. > Remember there are two

Re: Create files and directories from Django 1.2.1

2010-08-15 Thread Mark Mooij
Hi Mike, Thanks for your reply. I haven't changed anything else, I am processing the MS updates, but I don't think this is the problem, as this all worked fine before the migration to 1.2.1, also if I call the script directly (outside Django) it works fine. My view looks like this: .. import creat

running a django app on ubuntu linux server

2010-08-15 Thread Himanshu Srivastava
Hi I am a newbie I want to run simple app in ubuntu linux server when i do manage.py syncdb it works fine but as i do manage.py runserver the server starts reloading and nothing happens How to make it run Pls answer soon Regards. -- You received this message because you are subscribed to the Goog

Re: To make a basecamp like - project management site

2010-08-15 Thread cootetom
@Mark Out of interest, what features are you looking to implement in your project management app? On Aug 15, 3:02 pm, tiemonster wrote: > I'm working on a GPL project management application for Django, and > would welcome contribution. I have a working codebase that is by no > means feature com

Re: To make a basecamp like - project management site

2010-08-15 Thread Baurzhan Ismagulov
On Sun, Aug 15, 2010 at 07:02:58AM -0700, tiemonster wrote: > I'm working on a GPL project management application for Django, and > would welcome contribution. I have a working codebase that is by no > means feature complete. If you're interested in contributing, please > contact me directly and I

Re: To make a basecamp like - project management site

2010-08-15 Thread tiemonster
I'm working on a GPL project management application for Django, and would welcome contribution. I have a working codebase that is by no means feature complete. If you're interested in contributing, please contact me directly and I can make arrangements for us to collaborate. I plan on some heavy de

Re: Django 1.3

2010-08-15 Thread DjangoRocks
I was wondering if South would be added as part of the standard Django release? Best. On Aug 2, 1:10 pm, Russell Keith-Magee wrote: > On Sun, Aug 1, 2010 at 10:35 PM, mayikmaster wrote: > > hello and thank you for this great project which I have learned so > > much. I would like to know what wi

error: get_format is not defined

2010-08-15 Thread Ogi Vranesic
Hi django users After updating Django to version 1.2.1 and replacing the old javascript files in myproject/media/js with the new files I become a error get_format is not defined in DateTimeShortcuts.js Can somebody tell me what I'm missing? Thanks in advance and best regards Ogi -- You re