I am starting out to learn django and I am using the book: Beginning Django
E-Commerce by Jim McGaw.
I was able to create the database using mysql console but when I ran the
command:
$ python manager.py dbshell
I got the following error:
ow...@dipo /c/python26/djangojobs/ecomstore
$ python ma
Thanks Tom, which one should I download for my django project?
There are about 9 files.
Kindly revert.
Regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Tom Evans
Sender: django-users@googlegroups.com
Date: Wed, 1 Dec 2010 12:46:53
To:
Reply-To: dja
I really don't have an answer to the question.
Instead of asking whether or not you should convert to unicode, I think you
should have converted first to unicode and see what happens. If that doesn't
work, then you ask for help.
It is just normal that you've used up all options you can think
Try django-uploadify.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Dhinesh Babu
Sender: django-users@googlegroups.com
Date: Wed, 24 Aug 2011 16:29:33
To:
Reply-To: django-users@googlegroups.com
Subject: Upload Progress bar
Hi Guys,
I'm a newbie to this web
That's alright.
All the best.
Regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Mischa Stephens
Sender: django-users@googlegroups.com
Date: Thu, 1 Sep 2011 13:50:23
To: Django users
Reply-To: django-users@googlegroups.com
Subject: Re: Python Developer
Let's say you have a model Utility, you can do Utility.objects.all().count()
Hope that helps.
Regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Jack
Sender: django-users@googlegroups.com
Date: Wed, 21 Sep 2011 09:10:49
To: Django users
Reply-To: django-
Django itself has a good tut for starters except you are a video person. The
django tutorial should get you started.
Regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: ANKUR AGGARWAL
Sender: django-users@googlegroups.com
Date: Thu, 22 Sep 2011 10:48:29
Google jquery or ajax for related select boxes. I'm sure you'd get good written
codes to tweak for your purpose.
All the best.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: pankaj sharma
Sender: django-users@googlegroups.com
Date: Sat, 7 May 2011 12:05:00
Welcome Rahim.
Start with the django tutorials.
Second, look through the django book. These two would give you the needed
basics.
What counts here is the zeal and it seems you have it.
All the best.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: hersh
S
Sqlite is not advisable when doing serious deployment.
Just a thought.
Cheers.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Kenneth Gonsalves
Sender: django-users@googlegroups.com
Date: Thu, 26 May 2011 10:47:02
To:
Reply-To: django-users@googlegroups.com
Su
I'd go with Komodo edit.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: AJ
Sender: django-users@googlegroups.com
Date: Wed, 25 May 2011 23:32:41
To:
Reply-To: django-users@googlegroups.com
Subject: Re: Is there an HTML editor that's Django-aware
Thanks a lot
Go with komodo edit.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Boštjan Mejak bostjan.me...@gmail.com
Sender: django-users@googlegroups.com
Date: Thu, 26 May 2011 12:57:17
To:
Reply-To: django-users@googlegroups.com
Subject: Re: Is there an HTML editor th
First, you did enclose doc properly. You wrote 'doc instead of 'doc'.
Sort that first. I'm however not suggesting that is the solution.
Regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: podio
Sender: django-users@googlegroups.com
Date: Mon, 30 May 2011 16:
Hi Benedict,
This is a mere advice. I hope someone can come up with an elegant solution
pretty soon.
The two projects though similar are different and as such there is a
possibility that one might get more complex than the other at a much faster
rate depending on the client's need. Just go ahe
Get another IT Guy or become one.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: lillian
Sender: django-users@googlegroups.com
Date: Thu, 9 Jun 2011 06:41:57
To: Django users
Reply-To: django-users@googlegroups.com
Subject: Payment form
Hello, I want to set up
How do you define free of charge?
I just checked dotcloud and it doesn't come anywhere close to what English
defines as free.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Izzie Teeyes
Sender: django-users@googlegroups.com
Date: Sat, 11 Jun 2011 16:38:21
To:
Whenever you use a get(), it is expecting to return one item. Use filter() and
see if the error comes up again and then I can take a deeper look at the error.
Regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Ademar
Sender: django-users@googlegroups.com
What I do is remove the database and them run the syncdb command again.
Some people might recommend migrations using South.
Regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: smith jack
Sender: django-users@googlegroups.com
Date: Fri, 19 Aug 2011 00:03
Try freelancer.com
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: mehma sarja
Sender: django-users@googlegroups.com
Date: Sat, 18 Dec 2010 10:37:59
To:
Reply-To: django-users@googlegroups.com
Subject: What's a good site to solicit project bids
I have a proje
Welcome Mate.
I'm sure you'll get so much to learn and also teach.
Best regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Dave Sayer
Sender: django-users@googlegroups.com
Date: Sun, 19 Dec 2010 12:16:12
To:
Reply-To: django-users@googlegroups.com
Subj
Hi all,
I recently started working on a project which is based on django. I've had
reasons to work through the documentation several times to get things done.
However, each time I check the documentation, I find out there is more to learn
hence, my thought.
Is there any or can there be a djan
How can I work around this ValueError: too many values to unpack.
I am actually trying to extract certain portion of a csv file.
I just need an insight into what could be causing such error and I should be
able to figure out the rest.
Thanks.
Sent from my BlackBerry wireless device from MTN
How do I insert a search field into a django page.
I have looked through the documentation and couldn't get anything.
I actually want to search for a phone number on a page where there are a lot of
phone numbers.
Kindly help.
Sent from my BlackBerry wireless device from MTN
-Original M
I'm not so sure about this but I feel you are not declaring the email field
properly. That however may not be the problem, others would sure come with
help.
Instead of declaring it as models.CharField, I think it should be
models.EmailField.
Please check the django documentation for more help.
Tom,
How does he do that?
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Tom Evans
Sender: django-users@googlegroups.com
Date: Mon, 14 Feb 2011 17:25:58
To:
Reply-To: django-users@googlegroups.com
Subject: Re: Model Codng/Model Usage Pitfall?
On Mon, Feb 14,
Knowing what is not a good idea means you know what the good idea is,
logically.
So, Galago, what's the good idea???
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: galago
Sender: django-users@googlegroups.com
Date: Sun, 20 Feb 2011 14:19:14
To:
Reply-To: dja
That would have been my approach if I were to do that. So, we are now two
seeking the good way to get it done.
Hello People,
Galago and I have the same challenge, please help us.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: galago
Sender: django-users@googl
Hey Shawn,
I have been opportuned to have south installed on my pc but I must confess I
have never understood its use. Now that its being mentioned in here, I think I
am going to get into it and understand its use.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From
Hello People,
I have a blog I'm currently designing and I have a little challenge.
I can from the view get a template to render all the blogs in the database by
fetching
articles = Article.objects.all()
from the view and then loop over it in my template like so:
{% for article in articles %}
You might want to try Activestate Komodo Edit.
That's what I use and it's such a wonderful experience.
Regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: mongoose
Sender: django-users@googlegroups.com
Date: Tue, 22 Feb 2011 06:55:21
To: Django users
Rep
I'm not so sure if I'm answering your question but there's a way you can chain
querysets.
In your views.py file import Q from django.db.models.
You could check django documentation. I think it works well.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Ryan Wi
The ssh thing, I agree. It works like magic. I'm however compelled to believe
that the time you'd spend learning VI is enough to get you already developing
django powered apps. My case study.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Brice Leroy
Sender:
First, confirm the relationship between those variables.
current_entry = Entry.objects.get(id=10)
next_entry = Entry.objects.get(current_entry.next)
prev_entry = Entry.objects.get(current_entry.prev)
By my estimation,next_entry should return Entry object with I'd of 11 while
prev_entry returns I
Thanks Karen. I'd get the book and work through it.
Regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Karen McNeil
Sender: django-users@googlegroups.com
Date: Tue, 22 Feb 2011 15:56:20
To: Django users
Reply-To: django-users@googlegroups.com
Subject: R
Got the book. Thanks a million Karen.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Karen McNeil
Sender: django-users@googlegroups.com
Date: Tue, 22 Feb 2011 15:56:20
To: Django users
Reply-To: django-users@googlegroups.com
Subject: Re: Blog Listing on Home P
He is expecting to fetch a single term. I think that's what get() does if the
particular I'd is known and you would have written your code as this:
Foo.objects.get(id=1000)
However, if you don't know like I'm presuming, you do:
Foo.objects.all().order_by('-pk')[0]
Tom, thanks.
Sent from my BlackB
Check out Practical Django Projects by James Bennette.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: BearCode
Sender: django-users@googlegroups.com
Date: Sat, 26 Feb 2011 14:50:27
To: Django users
Reply-To: django-users@googlegroups.com
Subject: how-to-design
I suspect you had already done a syncdb before creating that field. If yes, the
database would not create it just like that.
When I had similar problem, here's what I did.
I removed the database file from my project root and then ran a syncdb again.
It worked.
There's a price to pay however, y
Hi, my firm would love to have a look at it. If we get the RFP, you sure would
get a feedback from us.
Kind regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Colleen
Sender: django-users@googlegroups.com
Date: Fri, 4 Mar 2011 05:05:54
To: Django users
This should further confirm to you there is always a need to put as many
comments as you can in your application and codes as a matter of principle.
Kind regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: ALJ
Sender: django-users@googlegroups.com
Date:
My apologies, I was meant to do a personal mail to the sender.
If the post could be removed, I would be very happy.
Once again, apologies.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Kenneth Gonsalves
Sender: django-users@googlegroups.com
Date: Sat, 05 M
The error message is straight forward. You are referring to a file or directory
that doesn't exist.
Check the name of the file and be sure you've spelt it correctly or you
actually saved it in the directory from where you're tryin to access it.
Sent from my BlackBerry wireless device from MTN
The spelling is what the problem is.
You have typed 'objetcs' instead of 'objects'.
Always study the error trace very well.
Best regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Alberto Morales Fernández
Sender: django-users@googlegroups.com
Date: W
I am not sure there would be major issues except that you need to install
binary versions of your database drivers.
Regards.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: David Kovar
Sender: django-users@googlegroups.com
Date: Tue, 22 Mar 2011 07:59:45
To:
What exactly are you trying to get done or achieve?
If that is known, we could be able to help.
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: Tony
Sender: django-users@googlegroups.com
Date: Wed, 23 Mar 2011 13:06:13
To: Django users
Reply-To: django-users@g
Do you have problems using pastebin???
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: ruler501
Sender: django-users@googlegroups.com
Date: Sat, 26 Mar 2011 07:32:13
To: Django users
Reply-To: django-users@googlegroups.com
Subject: Re: Tutorial Problems
Sorry I
I don't know much about Posgresql 8.3, I use mysql.
In my experience, you can choose to add the model and then do a migrate. As in
manage.py schemamigration [app] --auto.
That would create a migration and then you can do a manage.py migrate auto.
You must have south installed on your system.
W
47 matches
Mail list logo