I've noticed that the sidebar on the Documentation pages is at the
bottom of the HTML markup, so when I make a search, the index that is
there is one of the last things to be found...
Shouldn't it be the other way arround (at top of the HTML tree), say..
I'm looking for "add" and I would run into
On 4/16/06, Jj <[EMAIL PROTECTED]> wrote:
> Shouldn't it be the other way arround (at top of the HTML tree), say..
> I'm looking for "add" and I would run into the "add" on the sidebar's
> index first, which leads me where I want to, instead of going through
> all the "add" that could be found in
Alex Li wrote:
> I know that MS SQLServer and Oracle both have schema support (I think
> it is part of SQL92 standard); probably other "traditional" RDBMSes
> would have support too; don't know about MySQL and Sqlite...
>
> HTH,
> Alex
MS SQL has schema support? I just looked at the online techne
I solved it myself, no help needed.
Rudolph
--~--~-~--~~~---~--~~
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, s
hi,
I'd like to use the django-template-system without the rest of django.
so I tried a small example, which worked:
import os
os.environ["DJANGO_SETTINGS_MODULE"] = "__main__" #or appr. settings.py
from django.core.template import *
t = Template( """Hello {{name}}
print t.render( {"name": "Phil
Thanks!
Maybe you can contact Guido van Rossum about this, he mentioned Google
in his blog and works for Google...
Rudolph
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
I have solved this by using a settings_env.py file. At the top of my
settings.py file I have
from settings_env import *
then inside settings_env.py I define
MY_BASE_PATH = /absolute/path/to/project/
so that inside settings.py the template becomes
TEMPLATE_DIRS = (
MY_BASE_PATH + 'templates
or you can just define in Your settings file:
BASE = os.path.dirname(__file__)
and do:
TEMPLATE_DIRS = (
os.path.join(BASE, 'templates')
)
and your settings will be location indipendent.
jrs wrote:
> I have solved this by using a settings_env.py file. At the top of my
> settings.py file
On 4/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I tried a bit more, and found out that:
> - {{var}} and {% if %} (and maybe some more) work.
> - {% extends %} and {% block %} throw the exception above.
>
> what can I do to make "extends" and "block" work ?
I believe that you can't use
Is there any thought on decoupling the "choices" parameter from the
type of bound Field, so that for instance something like
IntegerField('Results per page', choices=[(n,n) for n in
10,20,30,50,100])
would work as expected and not return string instead ? If not, I'll add
a ticket, though I'm not
If anyone is interested in verifying OpenID identities from within
Django, I've just implemented that and would be happy to share. It
wasn't particularly difficult given the Python openid library, but it
should save other implementers some time.
-Jeremy
(Django newbie)
--~--~-~--~
On 4/16/06, jeremy <[EMAIL PROTECTED]> wrote:
>
> If anyone is interested in verifying OpenID identities from within
> Django, I've just implemented that and would be happy to share. It
> wasn't particularly difficult given the Python openid library, but it
> should save other implementers some t
On 4/16/06, George Sakkis <[EMAIL PROTECTED]> wrote:
> Is there any thought on decoupling the "choices" parameter from the
> type of bound Field, so that for instance something like
>
> IntegerField('Results per page', choices=[(n,n) for n in
> 10,20,30,50,100])
>
> would work as expected and not
Okay, sold. I put it here:
http://code.djangoproject.com/wiki/CookBookShortcutsOpenIDAuthentication
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django
Hi.
I would like to use django models on external scripts to
initialize/modify the database. Is it possible?
I've followed the instructions of the tutorial (set
DJANGO_SETTINGS_MODULE='website.settings' and importing
website.settings works on python shell) but haven't been able to get it
to work
15 matches
Mail list logo