Have you created a Postgres database?
On Feb 12, 4:38 am, Newbie wrote:
> Dear all,
>
> Downloaded and followed the steps which is given in the
> documentation of Django
> Created the project called mysite
> Created the model called polls
> Ratified the set
Did You start python shell from project directory ??
python manage.py shell
On Fri, Feb 12, 2010 at 1:42 PM, Newbie wrote:
> thanks for your reply..
> When I updated the postgresql version , the tables are created
> successfully.
>
> Now I faced another problem.
> When I start to store
thanks for your reply..
When I updated the postgresql version , the tables are created
successfully.
Now I faced another problem.
When I start to store a data in the model through the methods of the
class , the following error is get.
>> from mysite.polls.models import Poll,Choice
>>> Pol
On Feb 11, 2010, at 8:38 PM, Newbie wrote:
NOTE : Django version is 1.1.1 and PostgreSQL version is 7.4.16
Is there is a reason you are using such an old version of PostgreSQL?
--
-- Christophe Pettus
x...@thebuild.com
--
You received this message because you are subscribed to the Google
Try changing the database to sqlite3 and see if it works. If so, you know the
problem is with Postgres. If not, it's probably something you did.
Also, Postges 7.4 is way out of date -- the current is 8.4. It could be that
the psycopg2 interface has a problem with a version that old.
Shawn
--
Dear all,
Downloaded and followed the steps which is given in the
documentation of Django
Created the project called mysite
Created the model called polls
Ratified the settings.py of the project to create a model as
a table in the database using INSTALLED_ A
6 matches
Mail list logo