Thanks for the suggestions.
> * Write messages in Turkish and provide an English translation for the
> projects that need it, but not for this one (untested).
This would be an interesting hack but there already exists a Turkish
translation. Reversing it would be a burden. Also, it wouldn't sol
> Do you mean it throws a validation error? Or that the field is too
> small for you to see the whole address as you type?
The email field will not accept an address more than 30 characters.
The one I want to use is 31! I didn't notice until after submitting
the form that the final "m" in com was
For the upcoming release, may I suggest a way to override the language
selection precedence and/or force a preset language in
get_language_from_request, as discussed here:
http://groups.google.com/group/django-users/browse_thread/thread/15ec233671b0beed
Thanks,
oMat
On 27 Şubat, 02:26, Malcol
On 2/27/07, Perica Zivkovic <[EMAIL PROTECTED]> wrote:
>
> Picio,
>
> there is another option, www.portablepython.com includes django 0.96
> and it's a good solution if you want to test your 0.95 applications
> before replacing 0.95 with 0.96
I don't know what portablepython.com is including, but
It seems that only top 20 items can be displayed? right? I think it's a bug.
--
I like python!
UliPad <>: http://wiki.woodpecker.org.cn/moin/UliPad
My Blog: http://www.donews.net/limodou
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Picio,
there is another option, www.portablepython.com includes django 0.96
and it's a good solution if you want to test your 0.95 applications
before replacing 0.95 with 0.96
regards
Perica
On 2/27/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
>
> On 2/27/07, Picio <[EMAIL PROTECTED]> wr
On 27-Feb-07, at 5:04 AM, Picio wrote:
> I have 0.95 working on my dev laptop.
> I'd like to upgrade It to 0.96 removing the old version.
> Which are the steps? (if many)
delete the directory containing .95
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-
On Mon, 2007-02-26 at 17:19 +, Manoj Govindan wrote:
> Hi Malcolm,
> After reading your post, I added a couple of assertions.
> 1) Check for subProject.parent immediately after creating the
> subProject object.
> 2) Compare id()s of project and subProject.parent *after saving*
> subProject.
>
On Mon, 2007-02-26 at 21:11 +, [EMAIL PROTECTED] wrote:
> I recently updated one of my modules by adding a manytomanyfield such
> that it now looks like:
>
> class all_posts(models.Model):
> user = models.ForeignKey(User, related_name="poster")
> post_type = models.CharField(choic
On Mon, 2007-02-26 at 15:28 -0800, Chris Brand wrote:
[...]
> OperationalError: (1054, "Unknown column 'camps_board_time_block.start_time'
> in 'order clause'")
>
> I've tried substituting fields of other related tables, and they work fine.
>
> Going directly into the db, I think I have everythi
On Mon, Feb 26, 2007 at 02:52:49PM -0800, omat * gezgin.com wrote:
> But I do not want the browser settings (ie the http accepted-headers)
> or other options to be considered. I just want to have one preset
> language for a specific installation.
* Write messages in Turkish and provide an English
>> That's too bad. I have the patches in #2358, at least, to keep me
>> going for now, which is good.
Check the status on 2358 - it was recently accepted. I don't know when it
will be applied, but it seems like they are actively looking at ti.
Sean
On 2/26/07, Andrew Diederich <[EMAIL PROTECTE
Malcolm said:
> I wasn't going to look at it unless I ran out of things to do. That
> hasn't happened yet. You may remember me saying I don't like edit
> inline, so developing enthusiasm to look at these bugs is difficult. We
> have to fix them somehow, so if somebody else wants to do that, I'm n
On 2/27/07, Picio <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I have 0.95 working on my dev laptop.
> I'd like to upgrade It to 0.96 removing the old version.
> Which are the steps? (if many)
0.96 hasn't been released yet. We are in the process of working on
this release at the moment. When it is for
Hello,
I have 0.95 working on my dev laptop.
I'd like to upgrade It to 0.96 removing the old version.
Which are the steps? (if many)
Some doc to point me out?
I appreceiate your help
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed
On 2/26/07, Andrew Diederich <[EMAIL PROTECTED]> wrote:
> On Monday, February 26, 2007, 3:00:30 PM, Jacob Kaplan-Moss wrote:
> > For the other bit, though, see [4624].
>
> This ticket doesn't exist. I looked for similarly numbered ones, but
> didn't find it.
That's changeset 4624, not ticket 4624
On Monday, February 26, 2007, 3:00:30 PM, Jacob Kaplan-Moss wrote:
> On 2/26/07, Andrew Diederich <[EMAIL PROTECTED]> wrote:
>> I'd like to see the mssql patches applied, ticket
>> http://code.djangoproject.com/ticket/2358. I'd also like to see the
>> postgresql_psycopg2 database option mentione
Having gone on a dot-removal frenzy, I still have this one that fails :
>>> from camps import models
>>> app_list =
models.Application.objects.select_related().order_by('camps_board_time_block
.start_time')
>>> app_list
Traceback (most recent call last):
File "", line 1, in ?
File
"/usr/lib/py
But I do not want the browser settings (ie the http accepted-headers)
or other options to be considered. I just want to have one preset
language for a specific installation.
I feel like limiting the language options with overriding the
LANGUAGES list should do, but I couldn't.
If there is a way
> You have an addiction to dots...if you were doing unit tests,
> this would be A Good Thing(tm) :) However, in an ORDER BY
> clause, not so much.
I wouldn't cause it an addiction as such. I may occasionally use them a
little more than is good for me...:-)
>
> IIUC, you need to do a select_rela
> If there's a bug that's been annoying the heck out of you and you want
> it fixed before the release, this would be the time to speak up about
> it. We have a fairly high concentration of Django developers all in
> one place with nothing to do but code, so hopefully we'll be able to
> hit a lot
> Can you create a ticket with this on it so I don't lose track of it?
http://code.djangoproject.com/ticket/3587
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
> #app_list =
> camp.application_set.filter(year=year_filter).order_by('camps_application__c
> adet.sqn.wing.name')
>
> You can see where I've commented-out what I wanted to do. The commented-out
> version gives :
> Exception Type: OperationalError
> Exception Value: (1054, "Unknow
Nice Work James!
I've Dugg and Reddited it here:
http://digg.com/programming/djangosnippets_org_a_site_where_Django_users_can_share_code
http://reddit.com/info/16lyo/comments
--Simon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Right now, with new forms, the way to edit instances using custom form
seems to be to pass instance_object.__dict__ to the form
initialization parameter, with changes made to add in ManyToMany and
similar fields. While this works just fine, it feels like a bit of a
cludge, and it would be nice to
On 2/26/07, Chris Brand <[EMAIL PROTECTED]> wrote:
> Ok, I got hold of my code.
[snip]
Can you create a ticket with this on it so I don't lose track of it?
Reading through it all is a little difficult, so I'm gonna want to
have it somewhere I can refer back to.
Thanks!
Jacob
--~--~-~-
On 2/26/07, Andrew Diederich <[EMAIL PROTECTED]> wrote:
> I'd like to see the mssql patches applied, ticket
> http://code.djangoproject.com/ticket/2358. I'd also like to see the
> postgresql_psycopg2 database option mentioned in the default comments
> in the settings.py file for the DATABASE_ENGI
> > Please do elaborate on this. AFAIK FKs in filter() work just fine, so
> > if there's something broken we should know about it right away.
>
> I found ticket 2076, but that only concerns order_by().
>
> I haven't got access to my code at the moment.
Ok, I got hold of my code.
Of course (I h
On Mon, Feb 26, 2007 at 02:24:11PM -, omat * gezgin.com wrote:
> Yes, but I want the application to be internationalized. I want only
> one of the installations to have only one translation.
I haven't tested this, but it seems that you need to list both 'en' and
'tr' in LANGUAGES and set LANG
James,
On 2/26/07, James Bennett <[EMAIL PROTECTED]> wrote:
>
> Also, a few people have mentioned not getting account activation
> emails; I don't know what's up with that [...]
Could this be related to [1]this ?.
Regards,
1. http://code.djangoproject.com/ticket/3472#comment:4
--
Ramiro Mor
> from schools.models import School
> def schools(request, country, city)
> schools = School.objects.?
Try this:
schools = School.objects.filter(city__exact=city,
city__country__exact=country)
Basically, use double underscores in the query fields to traverse
through your model heira
On Sunday, February 25, 2007, 9:56:36 PM, James Bennett wrote:
> If you've got any questions about all of this, feel free to reply and
> I'll do my best to answer them or delegate to someone who can. And if
> you've got some free time this week and want to help us kill bugs in
> the run up to 0.9
On 2/26/07, enquest <[EMAIL PROTECTED]> wrote:
>
> What should I do to add a model... So that you can type
>
> City = models.autoCompleet(City)
>
> If somebody would type "new" it should lookup all city's that start with
> "new" ... like "New York" and give also the country where this city is.
> N
Just to be clear, everything worked fine before the change.
On Feb 26, 6:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I recently updated one of my modules by adding a manytomanyfield such
> that it now looks like:
>
> class all_posts(models.Model):
> user = models.ForeignKey(Us
I recently updated one of my modules by adding a manytomanyfield such
that it now looks like:
class all_posts(models.Model):
user = models.ForeignKey(User, related_name="poster")
post_type = models.CharField(choices=POST_TYPES, maxlength=5)
title = models.CharField(maxleng
I hate to spam the list, but since I'm being inundated...
I've now pointed out in multiple places that I'm working on RSS feeds,
but that they weren't quite ready when I wanted to launch.
*please* stop emailing me about feeds; they're coming, but I need to
do a little work.
--
"Bureaucrat Conr
> I'm not sure how Chris is filtering/ordering, but there are
> several ways of specifying fields, depending on the context. In
> filtering, one needs to use the double-underscore scheme as in
>
> Foo.objects.filter(foreignfieldname__foreignfield = 42)
>
> whereas in ordering, IIRC, you h
>> I've been using 0.95 for a few months now, and the one thing that is really
>> annoying is using foreign keys in filter() and order_by() statements. Not
>> sure about a bug # (I will see if I can find one), but I always seem to end
>> up with errors about unknown table names, and end up having
Consider the following setup:
Class country holds all country's
Class City holds all city's with a foreignkey to the country
Class schools holds all schools with a foreingkey to city
I want a url like ...school/country/city
In that way I can get a list of all schools in a city from a country.
On 2/26/07, oggie rob <[EMAIL PROTECTED]> wrote:
>
> I can't tell if this is the cause, but you should remove the "pass"
> right under "class Admin":
pass is just an empty command, it doesn't do anything
>
> -rob
>
>
> >
>
--
Honza Kr�l
E-Mail: [EMAIL PROTECTED]
ICQ#: 107471613
Phone: +420
On 2/26/07, DuncanM <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have some models related to a football (soccer) team, I had models
> for everything working fine except my Results model. I tried adding
> it yesterday and encountered a few problems with it, which was solved
> due to the help from these g
> Please do elaborate on this. AFAIK FKs in filter() work just fine, so
> if there's something broken we should know about it right away.
I found ticket 2076, but that only concerns order_by().
I haven't got access to my code at the moment.
Chris
--~--~-~--~~~---~
On 2/26/07, Chris Brand <[EMAIL PROTECTED]> wrote:
> I've been using 0.95 for a few months now, and the one thing that is really
> annoying is using foreign keys in filter() and order_by() statements. Not
> sure about a bug # (I will see if I can find one), but I always seem to end
> up with error
On Feb 26, 5:45 pm, "oggie rob" <[EMAIL PROTECTED]> wrote:
> I can't tell if this is the cause, but you should remove the "pass"
> right under "class Admin":
>
> -rob
Nope I have that on my other classes as well and I don't have any
problems with them, I did try removing it just in case but it
I have a page where I want to display two Form objects, and that's
working fine. I have three Model objects that map to these two Form
objects, and I was hoping to avoid showing the relationships that are
redundant.
What's the best way to do this?
So far, if I do:
del DoseForm.base_fields['appo
> If there's a bug that's been annoying the heck out of you and you want
> it fixed before the release, this would be the time to speak up about
> it. We have a fairly high concentration of Django developers all in
> one place with nothing to do but code, so hopefully we'll be able to
> hit a lot
Looks like you're reasonably good to go - the default install location
changed from when I originally wrote the instructions (and I'm nowhere near
my Mac during the day - unfortunately).
Let me know if you run into any more trouble running it, and I'll see what I
can do to help.
-joe
On 2/24/07,
Nice place, thank you!
On think I have missed from the actual wiki is to be able to filter
the code snipets by version. I like very much the firefox plugin idea,
wich marks each plugin with the compatible versions.
Best regards,
--
Antoni Aloy López
Binissalem - Mallorca
http://www.trespams.com
I can't tell if this is the cause, but you should remove the "pass"
right under "class Admin":
-rob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django
We are looking for several full-time Django and Python programmers
that will work out of our Buenos Aires, Argentina office. We are
willing to train excellent programmers that do not yet have Django or
python skills if they can demonstrate proficiency in other object-
oriented languages like Ruby,
On 2/26/07, akaihola <[EMAIL PROTECTED]> wrote:
> One small note:
> The e-mail field when registering to www.djangosnippets.org is too
> short for the e-mail address I use for on-line services.
Do you mean it throws a validation error? Or that the field is too
small for you to see the whole addre
Hi Malcolm,
After reading your post, I added a couple of assertions.
1) Check for subProject.parent immediately after creating the
subProject object.
2) Compare id()s of project and subProject.parent *after saving*
subProject.
The test now looks like this:
class ProjectTests(unittest.TestCase):
Great, thanks! :-)
--~--~-~--~~~---~--~~
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 PROTEC
Site failing with:
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
result = object(req)
File "/home/ubernostrum/pylib/django/core/handlers/modp
Ivan, I went through the python gettext documentation but I couldn't
find any distinction between a 'default language' and a translation.
It seems to work as a replacement tool that runs with a lookup table
which is the translation file.
To me, It sounds like a bug on Django side.
How did you so
On 2/26/07, Henrik Lied <[EMAIL PROTECTED]> wrote:
> One question though - if I wanted not only to split the tags when
> space separated, but also on "," and ", " - how would I do that?
This is more of a Python question than a Django one, but... a quick
and dirty way would be:
new_tag_list = sel
Hi,
I have some models related to a football (soccer) team, I had models
for everything working fine except my Results model. I tried adding
it yesterday and encountered a few problems with it, which was solved
due to the help from these groups (thanks). However now when I run
syncdb I don't get
Ah, GREAT! Just what I needed :-)
One question though - if I wanted not only to split the tags when
space separated, but also on "," and ", " - how would I do that?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
> So - I'd like some input on what you think is the most appropriate way
> of users tagging entries. I don't think the usual ManyToMany-widget is
> the best way. I like the Flickr/delicious-kind of tagging, where users
> write the tags in a charfield like "home, blogging, article, more".
Here's o
> Did anyone ever figure out if we can (legally/morally) include
> decimal.py as django.utils.decimal (for 2.3 support)?
>
Given Malcolm's perspective, let me know if the design decision would be
to include decimal.py. If it is, I can try to do some leg work to track
down the legal aspects. Ju
omat * gezgin.com wrote:
> Yes, but I want the application to be internationalized. I want only
> one of the installations to have only one translation.
I had this problem on my site. I don't know if it's a bug or not but I
managed to make it work by choosing English as a default language and
R
Yes, but I want the application to be internationalized. I want only
one of the installations to have only one translation.
This is a generic application to handle user registration tasks and I
want to use it on other installations which will be requiring
internationalization.
Another thing, I d
Hi there!
I'm currently creating a new social networking site, specific for my
country.
One of the things on the feature-list is that each profile can create
blogs (several, if the user wants to), and with blogging, tags become
the natural alternative.
So - I'd like some input on what you think
On Mon, Feb 26, 2007 at 01:57:26PM -, omat * gezgin.com wrote:
> > 2. Where are you trying to see the translation? Admin, or your
> >application?
>
> my application
Do I understand correctly that you want to have your application in
Turkish only? If so, what is the problem with writing a
> 1. Which version of Django?
revision 4608 form svn
> 2. Where are you trying to see the translation? Admin, or your
>application?
my application
Thanks...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
Error messages:
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
result = object(req)
File "/home/ubernostrum/pylib/django/core/handlers/modpyth
Hello omat,
On Mon, Feb 26, 2007 at 01:14:11PM -, omat * gezgin.com wrote:
> but this doesn't solve the issue. Now I cannot get the translation
> even when 'Turkish' is added to my browsers list of accepted
> languages.
1. Which version of Django?
2. Where are you trying to see the translat
I want to have only one translation, the one set by the LANGUAGE_CODE
parameter to be available, no matter the browser settings. Django
checks the http header for accepted languages before the LANGUAGE_CODE
in the settings. Thus, I get the translation I want only when the
language is added to my b
On Feb 26, 11:09 am, enquest <[EMAIL PROTECTED]> wrote:
> What should I do to add a model... So that you can type
>
> City = models.autoCompleet(City)
Hi Enquest,
you mean smt like this?
def city_search(request, city_name):
city_list =
City.objects.filter(city__istartswith=city_name).order_
On Mon, 2007-02-26 at 11:09 +0100, enquest wrote:
> What should I do to add a model... So that you can type
>
> City = models.autoCompleet(City)
>
> If somebody would type "new" it should lookup all city's that start with
> "new" ... like "New York" and give also the country where this city is.
On Mon, 2007-02-26 at 01:58 -0800, idadesub wrote:
> Hello,
>
> Looking at how one can make apps, it seems a little ugly having to
> have an end user of an app manually add all the default settings for
> an app to their settings.py file. I didn't miss some easy way on how
> to do this, did I? The
Great!
One small note:
The e-mail field when registering to www.djangosnippets.org is too
short for the e-mail address I use for on-line services.
Also, the FAQ page fails:
File "/home/ubernostrum/pylib/cab/models.py", line 137
original = models.ForeignKey('self', null=True, blank=True,,
ed
What should I do to add a model... So that you can type
City = models.autoCompleet(City)
If somebody would type "new" it should lookup all city's that start with
"new" ... like "New York" and give also the country where this city is.
New York :: USA
I would use for this Jquery. In PhP this wo
Hello,
Looking at how one can make apps, it seems a little ugly having to
have an end user of an app manually add all the default settings for
an app to their settings.py file. I didn't miss some easy way on how
to do this, did I? The options I can think of don't really work out
that well. Say we
> I have a feeling somebody pointed this out in a ticket just recently,
> too. We're treating something as a sequence when we shouldn't
> necessarily be. I'll track it down this evening and either fix the docs
> or the code.
>
> As an intermediate fix, pass in [str(self.id)] or (str(self.id),) and
On Sun, 2007-02-25 at 23:56 -0600, Jacob Kaplan-Moss wrote:
> On 2/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
[...]
> > Third, there are lots of translation tickets ready for checkin, which
> > would be nice to patch in. Django's got a good reputation for i18n/
> > l10n, so getting these
76 matches
Mail list logo