Re: Setting Django

2018-03-28 Thread Jani Tiainen
Hi,

Yes, Django is a web framework, written in Python (it doesn't "interpret"
anything,). So everything you write in Django (well almost everything,
templating language has it's own syntax) is practically just ordinary
Python code.

As others pointed out doing official tutorial from the docs will get you
hang of basic concepts of Django (ORM, forms, templates, generic views,
admin site etc.)

On Wed, Mar 28, 2018 at 4:37 AM, Benoit EVRARD 
wrote:

> Hello, I'm new to this Django Framework. By the way, is it a Framework? I
> have no time to read all of the posts and tutos. Django seems to interpret
> python's coding am I right? I need to adapt a Zend Framework. Am I in the
> wrong path here? Best, Be
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/2af2cabf-f28f-46a5-a958-55500d17655d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHn91oenWRTeEL8Ee_8WLMq44zqPa9RZNxT-gMJ36-s49Zvy8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Setting Django

2018-03-28 Thread Andréas Kühne
Hi,

As Larry already was on to - just go through the tutorial - it will save
you a lot of time, and takes only about a half day if you do it in one
sweep. Otherwise you will probably be fighting django instead of using its
strengths.

Med vänliga hälsningar,

Andréas

2018-03-28 3:41 GMT+02:00 Larry Martell :

> On Tue, Mar 27, 2018 at 9:37 PM, Benoit EVRARD 
> wrote:
> > Hello, I'm new to this Django Framework. By the way, is it a Framework? I
> > have no time to read all of the posts and tutos. Django seems to
> interpret
> > python's coding am I right?
>
> You have no time to read the tutorials, but we are supposed to find
> time to help you?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CACwCsY7Rg1crOr7eYfofOmMyxt4ar
> KOJBXq7Cik88ds34KR6EQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCfGMthsVfSGbKvS95TUEm7_%3DHpQh3_GFdynbqLkZ78E2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Setting Django

2018-03-27 Thread Larry Martell
On Tue, Mar 27, 2018 at 9:37 PM, Benoit EVRARD  wrote:
> Hello, I'm new to this Django Framework. By the way, is it a Framework? I
> have no time to read all of the posts and tutos. Django seems to interpret
> python's coding am I right?

You have no time to read the tutorials, but we are supposed to find
time to help you?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACwCsY7Rg1crOr7eYfofOmMyxt4arKOJBXq7Cik88ds34KR6EQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Setting Django

2018-03-27 Thread Benoit EVRARD
Hello, I'm new to this Django Framework. By the way, is it a Framework? I 
have no time to read all of the posts and tutos. Django seems to interpret 
python's coding am I right? I need to adapt a Zend Framework. Am I in the 
wrong path here? Best, Be

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2af2cabf-f28f-46a5-a958-55500d17655d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Setting Django to not quote table names

2013-03-06 Thread Ian Kelly
On Wed, Mar 6, 2013 at 1:38 AM, Ian  wrote:
> In the meanwhile, the commonly used workaround for this is to include the
> schema in the db_table declaration like so:

The other workaround which is mentioned in the ticket I linked but
which I completely neglected to include in my reply, and which I
heartily recommend, is to create private synonyms within the Django
schema to the tables in other schemas.  This works perfectly fine
(it's what we do at my work) and allows you to avoid having
ugly-looking db_table names or having to patch Django.  The only real
issue again is that syncdb will not recognize the synonyms and will
try to create the tables if run.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Setting Django to not quote table names

2013-03-06 Thread Ian
On Tuesday, March 5, 2013 2:14:04 PM UTC-7, Steven Githens wrote:
>
> Hello Django Users,
>
> I have an app that uses Oracle and cx_Oracle for the db, and I've made the 
> models from an existing schema with inspectdb.
>
> The database schema also contains a number of sub-schemas, so they must be 
> accessed with schema dot table name.  Looking at the SQL used for model 
> access, I believe Django's automatic quoting of table names in the SQL is 
> causing issues with table name lookup.
>
> I can verify using cursor.execute in the shell, that if I leave off the 
> quotes, the queries work fine.  Is there an easy way to disable table name 
> quoting? (or other facility that gets around this? )
>
>
There is a long-standing ticket to add explicit schema declarations to 
models -- see https://code.djangoproject.com/ticket/6148
Unfortunately the most recent patch is almost a year old at this point, so 
I have no idea how well it would work.

In the meanwhile, the commonly used workaround for this is to include the 
schema in the db_table declaration like so:

db_table = 'my_schema"."my_table'

Note that quotes are included at the end of the schema name and the start 
of the table name, but not at the extremities of the string, since they 
will be added by the backend.  A couple of warnings about this approach:

1) This will break syncdb.  If you're not using syncdb, then this probably 
doesn't matter to you.

2) The oracle backend performs automatic name mangling on table names 
longer than 30 characters.  Since it considers the above to be all one 
table name, this effectively reduces the allowed table name length before 
name manging is applied by the number of extra characters.



On Tuesday, March 5, 2013 3:45:36 PM UTC-7, Shawn Milochik wrote:On Tue, 
Mar 5, 2013 at 5:41 PM, Johan ter Beest  wrote: 
>> Not an Oracle expert at all but maybe this SO answer explains some 
things?: 
>> 
>> 
http://stackoverflow.com/questions/563090/oracle-what-exactly-do-quotation-marks-around-the-table-name-do
 
>> 
>
> So if it's down to case-sensitivity then everything should be fine, 
> because all the queries are generated by the ORM and aren't going to 
> mix case. 

It's not just about case sensitivity.  The quotes are also required for 
names that happen to be Oracle keywords.  If you're controlling all the 
names though, then this is fairly easy to avoid.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Setting Django to not quote table names

2013-03-05 Thread Shawn Milochik
On Tue, Mar 5, 2013 at 5:41 PM, Johan ter Beest  wrote:
> Not an Oracle expert at all but maybe this SO answer explains some things?:
>
> http://stackoverflow.com/questions/563090/oracle-what-exactly-do-quotation-marks-around-the-table-name-do
>

So if it's down to case-sensitivity then everything should be fine,
because all the queries are generated by the ORM and aren't going to
mix case.

Especially if the database was created with syncdb and not inspectdb,
because then everything should be formatted the same.

It would be nice if some stuff in Django was easier to override. I'm
reminded of this thought-provoking blog post by the author of Flask,
werkzeug, and Jinja2:
http://lucumr.pocoo.org/2013/2/13/moar-classes/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Setting Django to not quote table names

2013-03-05 Thread Johan ter Beest
Not an Oracle expert at all but maybe this SO answer explains some things?:

http://stackoverflow.com/questions/563090/oracle-what-exactly-do-quotation-marks-around-the-table-name-do


On Mar 5, 2013, at 11:12 PM, Shawn Milochik  wrote:

> This works for me in Postgres as well. This script:
> 
> from django.contrib.auth.models import User
> qs = User.objects.filter(username='smilochik')
> print qs.query.sql_with_params()
> 
> returns this output:
> ('SELECT "auth_user"."id", "auth_user"."username",
> "auth_user"."first_name", "auth_user"."last_name",
> "auth_user"."email", "auth_user"."password", "auth_user"."is_staff",
> "auth_user"."is_active", "auth_user"."is_superuser",
> "auth_user"."last_login", "auth_user"."date_joined" FROM "auth_user"
> WHERE "auth_user"."username" = %s ', ('smilochik',))
> 
> If I go into django/db/backends/postgresql_psycopg2/operations.py (I'm
> using Postgres, not Oracle), and just have quote_name "return name"
> then I get this:
> 
> ('SELECT auth_user.id, auth_user.username, auth_user.first_name,
> auth_user.last_name, auth_user.email, auth_user.password,
> auth_user.is_staff, auth_user.is_active, auth_user.is_superuser,
> auth_user.last_login, auth_user.date_joined FROM auth_user WHERE
> auth_user.username = %s ', ('smilochik',))
> 
> I don't know if it's safe to do this. I'm assuming that, as long as
> there are no spaces in your table or field names, it should work.
> 
> I did try to trace from the class containing this quote to the actual
> database connection (from both directions), but I don't see how it can
> be cleanly overridden. I think the modification you made is probably
> the best bet. I would definitely like to hear what an ORM expert would
> say.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Setting Django to not quote table names

2013-03-05 Thread Shawn Milochik
This works for me in Postgres as well. This script:

from django.contrib.auth.models import User
qs = User.objects.filter(username='smilochik')
print qs.query.sql_with_params()

returns this output:
('SELECT "auth_user"."id", "auth_user"."username",
"auth_user"."first_name", "auth_user"."last_name",
"auth_user"."email", "auth_user"."password", "auth_user"."is_staff",
"auth_user"."is_active", "auth_user"."is_superuser",
"auth_user"."last_login", "auth_user"."date_joined" FROM "auth_user"
WHERE "auth_user"."username" = %s ', ('smilochik',))

If I go into django/db/backends/postgresql_psycopg2/operations.py (I'm
using Postgres, not Oracle), and just have quote_name "return name"
then I get this:

('SELECT auth_user.id, auth_user.username, auth_user.first_name,
auth_user.last_name, auth_user.email, auth_user.password,
auth_user.is_staff, auth_user.is_active, auth_user.is_superuser,
auth_user.last_login, auth_user.date_joined FROM auth_user WHERE
auth_user.username = %s ', ('smilochik',))

I don't know if it's safe to do this. I'm assuming that, as long as
there are no spaces in your table or field names, it should work.

I did try to trace from the class containing this quote to the actual
database connection (from both directions), but I don't see how it can
be cleanly overridden. I think the modification you made is probably
the best bet. I would definitely like to hear what an ORM expert would
say.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Setting Django to not quote table names

2013-03-05 Thread Steven Githens
Hi Shawn!

Thanks for the clue.  I commented out the following in oracle/base.py 
DatabaseOperations.quote_name and can get some tables showing up in the 
admin view now. ( More issues of course, but I believe them to be separate. 
)

# if not name.startswith('"') and not name.endswith('"'):
# name = '"%s"' % util.truncate_name(name.upper(),
#self.max_name_length())

I'm guessing this may not be the final best way to work around it, but I 
can keep prototyping and hacking my app now.  Hopefully someone ORM 
experienced will chip in.

Until then, thanks much!  :)

Steve

On Tuesday, March 5, 2013 4:32:44 PM UTC-5, Shawn Milochik wrote:
>
> I'm taking a look at this as someone pretty unfamiliar with the ORM. 
> Hopefully someone more knowledgeable will jump in. 
>
> However, in the meantime (if you're feeling adventurous), you could 
> look in django/db/backends/oracle/base.py and have a look at function 
> quote_name. A naive look at it makes me think you could just put 
> "return name" at the top and short-circuit it. Ideally we could find 
> an easy way to override it in a custom manager that you can use in 
> your models, but first let me know if a manual change to that file 
> causes the behavior you want. 
>
> No warranty! ^_^ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Setting Django to not quote table names

2013-03-05 Thread Shawn Milochik
I'm taking a look at this as someone pretty unfamiliar with the ORM.
Hopefully someone more knowledgeable will jump in.

However, in the meantime (if you're feeling adventurous), you could
look in django/db/backends/oracle/base.py and have a look at function
quote_name. A naive look at it makes me think you could just put
"return name" at the top and short-circuit it. Ideally we could find
an easy way to override it in a custom manager that you can use in
your models, but first let me know if a manual change to that file
causes the behavior you want.

No warranty! ^_^

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Setting Django to not quote table names

2013-03-05 Thread Steven Githens
Hello Django Users,

I have an app that uses Oracle and cx_Oracle for the db, and I've made the 
models from an existing schema with inspectdb.

The database schema also contains a number of sub-schemas, so they must be 
accessed with schema dot table name.  Looking at the SQL used for model 
access, I believe Django's automatic quoting of table names in the SQL is 
causing issues with table name lookup.

I can verify using cursor.execute in the shell, that if I leave off the 
quotes, the queries work fine.  Is there an easy way to disable table name 
quoting? (or other facility that gets around this? )

Cheers,
Steve

[snip]
  File 
"/home/sgithens/Envs/komen-django2/local/lib/python2.7/site-packages/django/db/backends/oracle/base.py",
 
line 717, in execute
six.reraise(utils.DatabaseError, utils.DatabaseError(*tuple(e.args)), 
sys.exc_info()[2])
  File 
"/home/sgithens/Envs/komen-django2/local/lib/python2.7/site-packages/django/db/backends/oracle/base.py",
 
line 710, in execute
return self.cursor.execute(query, self._param_generator(params))
DatabaseError: ORA-00942: table or view does not exist

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Setting django for fastcgi

2013-02-26 Thread Tim Johnson
I have now pared my 'old' .htaccess method for CGI to this:
(code)
AcceptPathInfo On
AddHandler fcgid-script .fcgi
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.fcgi/$1 [L,QSA]
(/code)
Note that Apache does not find index.fcgi unless
AcceptPathInfo On
is enabled.
But, still the code is printed instead of executed.
permissions for index.fcgi = 755
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Setting django for fastcgi

2013-02-26 Thread Tim Johnson
code for test0_loader.py as follows
#!/usr/bin/python
import os
# Set the DJANGO_SETTINGS_MODULE environment variable.
os.environ['DJANGO_SETTINGS_MODULE'] = "settings"
 
from django.core.servers.fastcgi import runfastcgi
runfastcgi(method="threaded", daemonize="false")
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Setting django for fastcgi

2013-02-26 Thread Tim Johnson
FYI: OS=Mac OSX 107, Python 2.7.1
Experience : CGI programming 17 years, python 10 years.
Django, FastCGI - newbie
.htaccess - pretty shaky

I'd like to work with django out of the box as fastcgi. I have a test
site set up.
With (code)
python manage.py runserver 8000 
(/code)
My test sites is accessible by http://localhost:8000

With .htaccess as follows (code)
AcceptPathInfo On
Options +SymLinksIfOwnerMatch
DirectoryIndex test0_Loader.py
AddHandler fcgid-script .py
RewriteEngine on
RewriteCond $1
!^(test0_Loader\.py|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ ./test0_Loader.py/$1 [L,QSA]
(/code)
If I point my browser to http://localhost/test0
I get the source code for test0_Loader.py printed to the screen.

NOTE: Although the (code)
python manage.py runserver (/code)
method works fine for development, but for deployment, I will be on shared
hosting without any port numbers open but the default.

mod_fastcgi is enabled for apache.
I could use some direction here. 
thanks
-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Setting DJango and Stackless

2009-06-08 Thread Khanage

I ran into this same issue, you will need to recompile python with the
following (somewhat unintuitive option):  --enable-unicode=ucs2, and
then recompile psycopg2. I've gotten that far with stackless on my
machine, and runserver, etc. works ok.

On May 30, 3:25 am, Chandrashekar Jayaraman  wrote:
> Hi,
>
> I am trying to setup stackless and django.
> For this purpose I am using python2.6 , I installed stackless (
> ./configure, make, make install  ) using this.
> I also installed the psycopg package with python ( stackless ) but for some
> reason when i try to run shell it throws up an error saying that
> django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module:
> /usr/local/lib/python2.6/site-packages/psycopg2/_psycopg.so: undefined
> symbol: PyUnicodeUCS4_Decode
>
> Thank You,
> Chandrashekar

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Setting DJango and Stackless

2009-05-29 Thread Karen Tracey
On Fri, May 29, 2009 at 1:25 PM, Chandrashekar Jayaraman
wrote:

> Hi,
>
> I am trying to setup stackless and django.
> For this purpose I am using python2.6 , I installed stackless (
> ./configure, make, make install  ) using this.
> I also installed the psycopg package with python ( stackless ) but for some
> reason when i try to run shell it throws up an error saying that
> django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module:
> /usr/local/lib/python2.6/site-packages/psycopg2/_psycopg.so: undefined
> symbol: PyUnicodeUCS4_Decode
>

This question really has nothing to do with Django.  You appear to be
running into an incompatibility between stackless and psycopg2.  Note
stackless claims 100% compatibility only with pure Python code, and when you
are using a database backend like psycopg2 you are also pulling in
non-Python extensions (as indicated by the report of a problem loading an
.so file).  I don't know if/how you can make that work.  A group dedicated
to either one of the two components that are conflicting would have a higher
likelihood of being able to help you.

Karen

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Setting DJango and Stackless

2009-05-29 Thread Chandrashekar Jayaraman
Hi,

I am trying to setup stackless and django.
For this purpose I am using python2.6 , I installed stackless (
./configure, make, make install  ) using this.
I also installed the psycopg package with python ( stackless ) but for some
reason when i try to run shell it throws up an error saying that
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module:
/usr/local/lib/python2.6/site-packages/psycopg2/_psycopg.so: undefined
symbol: PyUnicodeUCS4_Decode

Thank You,
Chandrashekar

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---