This looks very useful! Good job.
On Fri, Jan 7, 2011 at 7:55 AM, Thomas wrote:
>
> Just to share it with other newbies ...
>
> Today I have found these excellent slides (accompanied with explanations :)
> ), which could be helpful to bring some light to the darkness.
>
> quick example:
>
> http
Just to share it with other newbies ...
Today I have found these excellent slides (accompanied with explanations :) ),
which could be helpful to bring some light to the darkness.
quick example:
http://toys.jacobian.org/presentations/2007/oscon/tutorial/images/django-master-class.032.png
http:/
On Fri, Jan 7, 2011 at 12:22 PM, gintare wrote:
>
> in view.py
> ...
> Ltarp.append([item.Wordword, item.WordTranslEn, item.WordNotesGram,
> item.WordConcl])
> ..
> Lans.append([sen.Sent, sen.SentTransl, Ltarp ] )
>
> in template.html
> {% if Lans %}
>
> {% for smth in Lans %}
>
> {{smth.0}}
Thanks a lot, i just wanted to know how to use variables from query
directly. If you could advice, please write me.
I read Django documentation on beginning of 2010 and understood only
now on 2011 where forms are used. I mean if smbd never programmed
webpages the use of templates and forms is tota
in view.py
...
Ltarp.append([item.Wordword, item.WordTranslEn, item.WordNotesGram,
item.WordConcl])
..
Lans.append([sen.Sent, sen.SentTransl, Ltarp ] )
in template.html
{% if Lans %}
{% for smth in Lans %}
{{smth.0}}
{% for Ltarp in smth.3 %}
{{Ltarp.0}}
{% endfo
I guess you'll have to set it to 'Australia/ACT Australia/Canberra
Australia/NSW Australia/Sydney' in your settings.py instead.
Thanks,
Subhranath Chunder.
On Fri, Jan 7, 2011 at 6:22 AM, Mark Brazil wrote:
> hi,
>
> I've been trying to find the answer to this for a bit, but haven't
> found an
Firstly, I think this should be posted to the
django-us...@googlegroups.comgroup instead.
So, just make sure to post queries on using Django to there only.
Coming back to your question.
If you are using your own user model then, I hope you are using the not
using the import
'from django.contrib.a
Hi, James
This is supplementation of what Morimoto-san wrote.
I'm Japanese too.
You must use readings for ordering.
Japanese dictionary ordering is by pronunciation, not by alphabetical
order.
In English, 'food' is put at nearby 'foot'.
In Japanese, 'quick'(kwik) is put at nearby 'cuisine'(kwizi:
On Jan 6, 6:14 pm, Vikram wrote:
> Hi,
>
> I have an existing table in my Oracle db called Sess. Few columns in
> this table have names that end with the character '#'. I am unable to
> run the command syncdb.
>
> Steps I did so far:
> 1. python manage.py inspectdb > models.py
> 2. Spruced up mode
On Fri, Jan 7, 2011 at 09:13, Fel wrote:
> I'm a beginner Django person and I've written my first app...It's a
> products App that has 4 attributes: Name, Slug URL, Description and
> Image.
>
> I built my model, I have an ADMIN for it so I can add products via
> the /admin and now I want to create
hi,
I've been trying to find the answer to this for a bit, but haven't
found anything suitable.
I have postgresql 9.01, django 1.2.3 psycopg2 on ubuntu10.10
When I try to use syncdb i get an error as follows
"psycopg2.DataError: unrecognized time zone name"
I currently have my settings.py set
Hi All
I'm a beginner Django person and I've written my first app...It's a
products App that has 4 attributes: Name, Slug URL, Description and
Image.
I built my model, I have an ADMIN for it so I can add products via
the /admin and now I want to create a view that shows all the products
and when
Hi,
I have an existing table in my Oracle db called Sess. Few columns in
this table have names that end with the character '#'. I am unable to
run the command syncdb.
Steps I did so far:
1. python manage.py inspectdb > models.py
2. Spruced up models.py to reflect only single table called Sess.
3.
I've seen similar errors if I left in print >>sys.stderr statements,
although that was using mod_python.
From: django-users@googlegroups.com
[mailto:django-us...@googlegroups.com] On Behalf Of Graham Dumpleton
Sent: Thursday, January 06, 2011 2:23 AM
To: django-users@googlegroups.com
Subject:
Sorry if I confused people... I'm still looking for some feedback.
Really, I guess I just want to streamline CSS/layout/language/browser
testing so problems that commonly occur aren't discovered on the final
round of staging testing.
I imagine a test series like:
[ {
series_name: payroll_scree
for me it is working too
settings.py:
"ENGINE": "django.db.backends.postgresql_psycopg2",
# aptitude search python-psycopg2
i python-psycopg2 - Python module for PostgreSQL
good luck,
TR
Am 06.01.2011 um 17:36 schrieb Tonton:
> on my ubuntu
> in the set
I've solved the issue. The problem is that I was trying to iterate
over a ValidationError instead of it's message_dict. The changed code
for the view is below:
> 46 try:
> 47 u.full_clean()
> 48 u.save()
> 49
Hello group,
Does anybody have experience with the OpenToken specification? It is
an authentication token that some (not many) applications use for SSO.
I found existing Perl module that encrypts and decrypts the token but
I need a Python version to use in a Django project. Not much luck
finding
Hi there, I'm new here and kind of new to Django too, but after
messing with other things like Java, I was impressed in the agility
and facility that Django does things.
So here is the deal, I'm trying to create a site that allow the users
to have something like a small personal system.
And each s
I'm trying to create a page for mass user creation, and I'm having
troubles iterating over the error dictionaries in the template. The
dictionary I am trying to iterate over looks like this:
{'username': [u'User with this Username already exists.']}
But rather than iterating over this single item
Nope, the same as above, no .po files.
On 6 Janv., 19:00, maclin kallat wrote:
> Try using the -e option for adding the extensions.
>
> django-admin.py makemessages -l=lv -e=html,htm
>
>
> From: skazhy
> To: Django users
> Sent: Thu, 6 January, 2011 16:45:59
> S
Hi everybody:
I get an error when I used urllib2.urlopen() to open a remote file in a ftp
server, what I am trying to do is to make a view to force the browser to
download a file to disk instead of playing or displaying it. My code is the
following:
file = 'ftp:/16.168.250.14:2189/RTVE/VI
Try using the -e option for adding the extensions.
django-admin.py makemessages -l=lv -e=html,htm
From: skazhy
To: Django users
Sent: Thu, 6 January, 2011 16:45:59
Subject: Re: manage.py makemessages doesn't create .po files
I tried running it with the djang-
Hi
This year make a resolution that lasts not for a week, not for a month, not
for a lifetime, but FOREVER. Start this decade with a good.. Help someone to
see the MISSING COLOURS in their life.
A startup NGO is conducting a survey to analyze trends about EYE DONATION
and ITS AWARENESS IN INDIA
I tried running it with the djang-admin.py, same errors as with
manage.py.
Karlis
On 6 Janv., 18:30, Shawn Milochik wrote:
> It appears that 'makemessages' is meant to be run with django-admin.py,
> not manage.py.
>
> http://docs.djangoproject.com/en/dev/topics/i18n/localization/
>
> Shawn
--
on my ubuntu
in the settings . py
'ENGINE': 'django.db.backends.postgresql_psycopg2',
i've seen works with
'ENGINE': 'postgresql_psycopg2',
On Thu, Jan 6, 2011 at 5:32 PM, Peter L. Berghold wrote:
> Having gotten through the first few obstacles, I am now trying to build
> an ap
Having gotten through the first few obstacles, I am now trying to build
an app on a Debian based (Linux Mint, actually) and I am running into
the following message when running the development server:
django.core.exceptions.ImproperlyConfigured: Error loading psycopg
module: No module named psycop
It appears that 'makemessages' is meant to be run with django-admin.py,
not manage.py.
http://docs.djangoproject.com/en/dev/topics/i18n/localization/
Shawn
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to d
Hi!
I tried running "manage.py makemessages -l lv" in the project root
dir. At first I got the following error:
Error: This script should be run from the Django SVN tree or your
project or app tree. If you did indeed run it from the SVN checkout or
your project or application, maybe you are just
3. You need to restart it only after you modify apache config files.
On 6 Janv., 02:52, Zheng wrote:
> I started with the official tutorial to build the polls app.
> Everything works fine. I then tried to use wsgi on Apache. Everything
> still works, though with some defects explained below. I ha
On Thu, Jan 6, 2011 at 7:35 AM, Vlastimil Zima wrote:
> Recently I found out that distinct() can not be called on queries that
> are ordered as the result query is kind of
>
> SELECT DISTINCT table.id, table.ordering_column FROM table ORDER BY
> table.ordering_column ASC
>
> In ticket http://code.
Recently I found out that distinct() can not be called on queries that
are ordered as the result query is kind of
SELECT DISTINCT table.id, table.ordering_column FROM table ORDER BY
table.ordering_column ASC
In ticket http://code.djangoproject.com/ticket/11568 was said that
this will not be fixed
Just want to mention DSE which is especially made to solve problems
with mass insert and/updates in django:
http://pypi.python.org/pypi/dse/0.3.0
Regards,
Thomas
On Wed, Dec 29, 2010 at 1:22 PM, Derek wrote:
> Thanks Craig - that explains it very clearly indeed ("textbook answer"!)
>
> On 27 De
Just released a new version of DSE for django and would like to get
comments, flames, whatever.
http://pypi.python.org/pypi/dse/0.3.0
--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Hi, James
I'm Japanese.
> Any other suggestions or ways to correctly sort Japanese Words?
Though I'm not well versed in ordering Japanese words,
my friend told me the standards named "JIS X 4061:1996".
That's the standards using for Japanese dictionary(not python) or
Japanese book index.
The ja.
Use a custom 404 handler view:
http://docs.djangoproject.com/en/dev/topics/http/views/#customizing-error-views
On Jan 6, 2:45 pm, shofty wrote:
> has anyone ever written or read an article on creation of clever 404
> pages in django sites?
>
> i'd like to know if its possible to capture the url r
On Thu, Jan 6, 2011 at 5:31 PM, James Hancock wrote:
> Wow, I have no idea what you just said... but, I think I agree.
>
> *Man, the Japanese where not thinking about programming when they made
> their language*.
>
> Any other suggestions or ways to correctly sort Japanese Words?
>
> Cheers,
> Ja
I installed the django admin interface recently following instructions
from the djangobook
I created a superuser and all. I am able to login
But whenever I click on any link in the admin interface, I get a 404.
Please help where I might be wrong. I am completely new to Django.
--
You received thi
On 6 jan, 04:14, Karen Tracey wrote:
>
> Near as I can tell the doc doesn't say anything about what effect an empty
> Q() is supposed to have, so I don't know if the behavior you describe is a
> bug or not.
>
> However, the behavior you describe makes sense to me if you take the view
> that and em
On Thursday, January 6, 2011 11:45:20 AM UTC, shofty wrote:
>
> has anyone ever written or read an article on creation of clever 404
> pages in django sites?
>
> i'd like to know if its possible to capture the url requested and
> maybe push back a quick search on the terms in the url, rather tha
has anyone ever written or read an article on creation of clever 404
pages in django sites?
i'd like to know if its possible to capture the url requested and
maybe push back a quick search on the terms in the url, rather than
just telling the user that the page has disappeared in the transition
to
I added my case to this Django ticket. As far as I can tell its
related to the changes mentioned there.
http://code.djangoproject.com/ticket/15025
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@
On 2011-01-06, at 11:31 , James Hancock wrote:
> Any other suggestions or ways to correctly sort Japanese Words?
I don't believe Python has any support for collations (locale-specific sorts,
especially the Unicode Collation Algorithm and related Default Unicode
Collation Element Table and Common
I like it. I think it would make a good cartoon.
*Bookmark that.
Cheers,
James Hancock
On Tue, Jan 4, 2011 at 11:27 PM, marco wrote:
> hi!
>
> i'm reading the djangobook, and it ocurred to me this drawing, to
> graphic the mtv concept.
>
> hope you like it, and you are free to use it!
>
> http
Wow, I have no idea what you just said... but, I think I agree.
If I am right, what you are saying is, because the same kanji has multiple
readings and the words are sorted by reading and not the kanji itself, that
dictionary is going to be impossibly difficult to make.
quick example, skip if you
Ya me too in the same problem if any one find the solution please post here
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django
On 2011-01-06, at 07:23 , Sam Walters wrote:
> Hi,
> Personally I would map the priority of every character in a dict and
> pass this to sorted
Given Japanese is not an alphabetical language and mixes syllabic and
logographic scripts (the logographic system having a few thousand graphemes), I
do
47 matches
Mail list logo