Re: dúvida

2008-05-16 Thread HILAL AY
*

ı 'm  to kid someone, kid, joke.
*

17 Mayıs 2008 Cumartesi 05:47 tarihinde HILAL AY <[EMAIL PROTECTED]>
yazmış:

> siz neden aranızda ispanyolca konuşuyorsunuz bakalım ha?
>
> 2008/4/30 Andrews Medina <[EMAIL PROTECTED]>:
>
>
>> On Wed, Apr 30, 2008 at 8:01 AM, pauloleandro <[EMAIL PROTECTED]>
>> wrote:
>> >
>> >  Bom dia, queria saber se o Django só aceita a linguagem Python, se é
>> >  um framework desenvolido somente para esta linguagem??
>> >
>>
>> Sim. O Django foi desenvolvido em Python e só é possível utilizar ele
>> com Python.
>>
>> []'s
>> --
>> Andrews Medina
>> www.andrewsmedina.com
>>
>> >>
>>
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: dúvida

2008-05-16 Thread HILAL AY
siz neden aranızda ispanyolca konuşuyorsunuz bakalım ha?

2008/4/30 Andrews Medina <[EMAIL PROTECTED]>:

>
> On Wed, Apr 30, 2008 at 8:01 AM, pauloleandro <[EMAIL PROTECTED]>
> wrote:
> >
> >  Bom dia, queria saber se o Django só aceita a linguagem Python, se é
> >  um framework desenvolido somente para esta linguagem??
> >
>
> Sim. O Django foi desenvolvido em Python e só é possível utilizar ele
> com Python.
>
> []'s
> --
> Andrews Medina
> www.andrewsmedina.com
>
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Django installation problem ...

2008-05-02 Thread AY

Following the instruction on Django tutorial #4,  I had encounted the
following problem:

On the website of http://localhost:8000/polls/ ...it displays only one
line of information ...". What's up? "

and on the website of (1)http://localhost:8000/polls/poll_list.html or
(2) http://localhost:8000/poll_list.html (3)http://localhost:8000/
results.htmlor (4)http://localhost:8000/polls/resultsl.html...or
(5) http://localhost:8000/polls/1/.

the screen displays the following ERROR messages:

How do I break throught this hurdle!? Thanks in advance for your
assistances!!

P/S: the template_dirs in setting.py for urls is 

TEMPLATE_DIRS = ("C:/home/html/django_templates", "C:/home1/html1/
django_templates1"

where 1st string is for django/template/admin/(includes:
base_site.html, index.html) and the 2nd string is for django_template/
polls/(includes: poll_detail.html, poll_list.html, results.html and
404.html)

the screen displays the following error messages:


Traceback (most recent call last):

  File "C:\Python25\Lib\site-packages\django\core\servers
\basehttp.py", line 277, in run
self.result = application(self.environ, self.start_response)

  File "C:\Python25\Lib\site-packages\django\core\servers
\basehttp.py", line 631, in __call__
return self.application(environ, start_response)

  File "C:\Python25\Lib\site-packages\django\core\handlers\wsgi.py",
line 205, in __call__
response = self.get_response(request)

  File "C:\Python25\Lib\site-packages\django\core\handlers\base.py",
line 108, in get_response
return callback(request, **param_dict)

  File "C:\Python25\lib\site-packages\django\views\defaults.py", line
79, in page_not_found
t = loader.get_template(template_name) # You need to create a
404.html template.

  File "C:\Python25\lib\site-packages\django\template\loader.py", line
79, in get_template
source, origin = find_template_source(template_name)

  File "C:\Python25\lib\site-packages\django\template\loader.py", line
72, in find_template_source
raise TemplateDoesNotExist, name

TemplateDoesNotExist: 404.html


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Mod_Python Error - ImproperlyConfigured: Error loading psycopg module: No module named psycopg

2007-12-05 Thread AY

Good Morning, Thanks for reply my request! Can you show me where/how
to detect the error in psycopg module and how to fix the problem. I
have completed the following steps without any problem. (1) install
Python 2.5.1 windows installer (Python 2.5.1.exe) (2) install
TortoiseSVN-1.4.5.10425-win-svn-1.4.5.msi (3) Install Django 0.96 (4)
Update path variables to include python path (C:\python25; C:
\python25\tools\scripts;c:\python25\scripts) (5) install apache2.2.4-
win32-x86-no_ssl_msi web server (6)Install mod_python-3.3.1win-py2.5-
apache2.2.exe to allow apache and python to talk to each other (7)
install python memchache (python-memcache-1.39.tar.gz (8) download
FacBackOpac.
However I got stuck at (9) configure apache to use facbackopac
directory as a django project. This is my FIRST try to apply Django on
opac and have no idea to solve this mod_python error. Any help will be
very appreciated.  Thanks!



On Dec 4, 10:39 am, "Mauro Sánchez" <[EMAIL PROTECTED]> wrote:
> 2007/12/4, AY <[EMAIL PROTECTED]>:
>
> > Hi! I am trying to configure Apache to use facbackopan directory as a
> > django project, and have the following mod_python error message. Help
> > would be very appreciated. Thanks in advance!
>
> Hi.
>
> > 
> > MOD_PYTHON ERROR
>
> > ImproperlyConfigured: Error loading psycopg module: No module named
> > psycopg
>
> I think that you have an error in the psycopg module. Are you sure it
> is installed correctly? Can you use it outside django?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Mod_Python Error - ImproperlyConfigured: Error loading psycopg module: No module named psycopg

2007-12-04 Thread AY

Hi! I am trying to configure Apache to use facbackopan directory as a
django project, and have the following mod_python error message. Help
would be very appreciated. Thanks in advance!


MOD_PYTHON ERROR

ProcessId:  2208
Interpreter:'LocalHost'

ServerName: 'LocalHost'
DocumentRoot:   'C:/Program Files/Apache Software Foundation/Apache2.2/
htdocs'

URI:'/catalog'
Location:   '/catalog'
Directory:  None
Filename:   'C:/Program Files/Apache Software Foundation/Apache2.2/
htdocs/catalog'
PathInfo:   ''

Phase:  'PythonHandler'
Handler:'django.core.handlers.modpython'

Traceback (most recent call last):

  File "C:\Python25\Lib\site-packages\mod_python\importer.py", line
1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)

  File "C:\Python25\Lib\site-packages\mod_python\importer.py", line
1229, in _process_target
result = _execute_target(config, req, object, arg)

  File "C:\Python25\Lib\site-packages\mod_python\importer.py", line
1128, in _execute_target
result = object(arg)

  File "C:\Python25\Lib\site-packages\django\core\handlers
\modpython.py", line 178, in handler
return ModPythonHandler()(req)

  File "C:\Python25\Lib\site-packages\django\core\handlers
\modpython.py", line 146, in __call__
self.load_middleware()

  File "C:\Python25\Lib\site-packages\django\core\handlers\base.py",
line 29, in load_middleware
mod = __import__(mw_module, {}, {}, [''])

  File "C:\Python25\Lib\site-packages\django\contrib\sessions
\middleware.py", line 2, in 
from django.contrib.sessions.models import Session

  File "C:\Python25\Lib\site-packages\django\contrib\sessions
\models.py", line 3, in 
from django.db import models

  File "C:\Python25\Lib\site-packages\django\db\__init__.py", line 11,
in 
backend = __import__('django.db.backends.%s.base' %
settings.DATABASE_ENGINE, {}, {}, [''])

  File "C:\Python25\Lib\site-packages\django\db\backends\postgresql
\base.py", line 13, in 
raise ImproperlyConfigured, "Error loading psycopg module: %s" % e

ImproperlyConfigured: Error loading psycopg module: No module named
psycopg
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---