I've had the same problem on my Mac just now.
It seems like this is an issue with django-timezones
Try to install dev version from here:
pip install -e
git://github.com/brosner/django-timezones.git#egg=django-timezones
Andrew
On Aug 9, 1:40 pm, Daniel França wrote:
>
I'm using a trick involving jQuery taconite plugin, and child
template.
I have two base templates for the child template (taconite one, for
ajax requests, and regular one).
And you can put a variable into {% extends %} tag, instead of string.
Something like {% extends base_template %}
and then
AFAIK, you will probably need to do conversion between boolean types
(in MySQL BooleanField uses 0 and 1, and in PostgreSQL it uses True
and False).
I was doing it with JSON. And then you will need to empty all tables
like django_content_type and auth_permission in the target db or
exclude them
I'm using 7510. Script is executed for me.
You need to be logged out, then it displays a log in window, with an
alert box.
On May 7, 12:10 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Wed, May 7, 2008 at 1:45 PM, mw <[EMAIL PROTECTED]> wrote:
> > It worked for me and I have one of the
http://www.djangoproject.com/documentation/db-api/#creating-objects
Try UserDescrtiption(title='title', firstname='firstname',
middlename='middlename', lastname='lastname')
m.userid = u1
m.save()
On Oct 24, 1:29 pm, jim <[EMAIL PROTECTED]> wrote:
> Hello,
>I have a class which has a Foreign
You can also add the same tuple with the help of context processors.
http://www.djangoproject.com/documentation/templates_python/#django-core-context-processors-i18n
http://www.b-list.org/weblog/2006/jun/14/django-tips-template-context-processors/
On Oct 16, 9:58 pm, AniNair <[EMAIL PROTECTED]>
http://www.djangoproject.com/documentation/static_files/
You need to add information about your media directory to the url.py
On Oct 5, 5:59 pm, staff-gmail <[EMAIL PROTECTED]> wrote:
> I have read the docs on static files but cannot figure out how to
> specify an image when using the built-in
May be you forgot to add trailing slash to your flatpage url.
On Sep 23, 11:05 pm, AniNair <[EMAIL PROTECTED]> wrote:
> I tried doing it without the url, it returns a 404 error. The doc says
> that Each time any Django application raises a 404 error, the
> middleware checks the flatpages
You need to place your tag templates into the subdirectory called
"templates" of your application directory.
In that case
django.template.loaders.app_directories.load_template_source would be
able to found your custom tag template. And you don't need to add this
directory's path to TEMPLATE_DIRS
You don't need view for you flatpages. View is provided by the
fratpages application.
On Sep 21, 6:30 am, AniNair <[EMAIL PROTECTED]> wrote:
> Hi...
> Can someone help me with flat pages? I tried exactly what they say
> in the pagehttp://www.djangoproject.com/documentation/flatpages/
> I get
Great - thanks for your replies, Jacob and Vince.
Looking forward to having that book sitting beside me :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
I've been learning Django for a while, but I'm new to this group, so
if there's a source of news that I'm not aware of, where this has been
covered, please accept my apologies.
Does anybody know why the writing of the Djangobook seems to have
ground to a halt? I check it fairly frequently, and
12 matches
Mail list logo