> <[EMAIL PROTECTED]> wrote:
>
> Well, I was wrong and there was a way around it. I just committed
> a new version that displays correct column headers in admin list view.
> It does not require any workarounds anymore.
>
> -mk
Thanks. But i still have this problem. Even after update my work copy
No problem, thanks!
There's already a ticket, it's here:
http://code.djangoproject.com/ticket/3387
But though, is there another encoding I could use and how do I specify it?
2007/2/1, Michael Radziej <[EMAIL PROTECTED]>:
>
>
> Hi Sebastien,
>
> I don't see where the exact problem is and whether
Sebastien Armand [Pink]:
> No problem, thanks!
>
> There's already a ticket, it's here:
> http://code.djangoproject.com/ticket/3387
No, thanks for searching, but it's not. #3387 was triggered by using
queryset.filter(unicode_string)
You didn't use a unicode_string within filter(), though the
t
Michael Radziej wrote:
> Hi,
>
> there's a ticket with a patch about the order_by-Problem:
>
> http://code.djangoproject.com/ticket/2210.
>
> Does it help?
I just figured out that this problem also exists, even if the name ISN'T
different:
class Book(models.Model):
title = models.Tex
Bram - Smartelectronix:
> I'll be updating the ticket, but I was wondering when the ticket would
> be merged with trunk.
Someone needs to writes tests for this. As soon as this has been
done, the ticket can be promoted to "ready for checkin", which means
added core developer attention ;-)
Mic
Michael Radziej wrote:
> Bram - Smartelectronix:
>
>
>> I'll be updating the ticket, but I was wondering when the ticket would
>> be merged with trunk.
>
> Someone needs to writes tests for this. As soon as this has been
> done, the ticket can be promoted to "ready for checkin", which means
>
Hi
Someone please help me how to integrate tramline with django. Are
there any example for this?
Thank
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dja
Oooops didn't read enaough from the #3387 ticket. So I'll open one!
Thanks a lot for your explanations.
2007/2/1, Michael Radziej <[EMAIL PROTECTED]>:
>
>
> Sebastien Armand [Pink]:
> > No problem, thanks!
> >
> > There's already a ticket, it's here:
> > http://code.djangoproject.com/ticket/3387
>
This time it's done. The ticket is here:
http://code.djangoproject.com/ticket/3412 I hope it's enough documented.
2007/2/1, Sebastien Armand [Pink] <[EMAIL PROTECTED]>:
>
> Oooops didn't read enaough from the #3387 ticket. So I'll open one!
> Thanks a lot for your explanations.
>
> 2007/2/1, Micha
On 1 Lut, 09:52, "daev" <[EMAIL PROTECTED]> wrote:
> Thanks. But i still have this problem. Even after update my work copy
> of code
Strange. Could you send me your model?
Also, could you try the Category model from testproject? It works for
me
and shows fields' verbose_names in column headers
Regarding the list of available languages, I think that the
translation system should use the settings, provided by default
(LANGUAGE_CODE and LANGUAGES) instead of ids or other list variables.
http://www.djangoproject.com/documentation/settings/#language-code
Regards,
Aidas Bendoraitis
On 2/1
Sebastien Armand [Pink]:
> This time it's done. The ticket is here:
> http://code.djangoproject.com/ticket/3412 I hope it's enough documented.
Merci! I finally realized that it's not about a ForeignKey, sorry
for the confusion. Can you check if you can work around it with a
entreprise_list=entre
Bram - Smartelectronix:
> Michael Radziej wrote:
>> Bram - Smartelectronix:
>>
>>
>>> I'll be updating the ticket, but I was wondering when the ticket would
>>> be merged with trunk.
>> Someone needs to writes tests for this. As soon as this has been
>> done, the ticket can be promoted to "ready
Hi all,
Please, can you help me work out a queryset to get all the Users of
all projects I belong to.
from django.contrib.auth.models import User
class Project
...
staff = models.ManyToMany(User)
My concern is the fact that I should loop over all my projects and get
the staff for each
When I display a row, I am trying to display a row in a specific
color.
But, I am a bit confused as to how it should work within the cycle
command.
Here is my line of code.
{% for item in result %}
{{ item }}{% endfor %}
How do you set rowcolors where you want the background of the line to
disp
hi,
I use a textarea which size is set by row and cols.
If I write text into the field until the line ends, the
text continue automaticly in the next row. But after post,
the line break isn't set in text by "\n"
If have set by css -> { white-space:pre}
Is there a way to solve this problem?
th
In my dev environment, I was able to reproduce the error - it was a
typo in a method on a model object being called from a view. With
DEBUG = True, Django displayed a useful message so I suspect Django
had a chance to send the email.
Nothing in my postfix logs points to a problem.
I've sin
I tested this css tag on different browser (ie, firefox etc.). But das
automatic line break would not be set.
Is there any way to fix this on server side?
For PHP i found any functions to fix this problem...
On 29 Jan., 11:34, "Aidas Bendoraitis" <[EMAIL PROTECTED]>
wrote:
> Line-break CSS prop
Hi,
Is there a way to detect in my code if I'm running in prefork or threaded mode?
Jakub
--~--~-~--~~~---~--~~
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@goog
On 1 Lut, 14:15, "Aidas Bendoraitis" <[EMAIL PROTECTED]>
wrote:
> Regarding the list of available languages, I think that the
> translation system should use the settings, provided by default
> (LANGUAGE_CODE and LANGUAGES) instead of ids or other list
> variables.http://www.djangoproject.com/doc
Like JRS, I'm on webfaction, and found them to be very particular
about what's in setttings.py. I'd double- or triple-check all that. If
it's not SERVER_EMAIL, then maybe it's something else. Like you, I had
account activation and other emails working fine, but error emails
weren't going through u
Hi Ron!
Try changing
'/home/rsie/projects/mysite'
to
'/home/rsie/projects'
and also change
SetEnv DJANGO_SETTINGS_MODULE settings
to
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
regards,
/Henrik
--~--~-~--~~~---~--~~
You received this message because you are s
I think you've got it, other than setting the css for .row1 or .row2
to background:#0f0 or whatever
On Feb 1, 7:39 am, "jeffhg58" <[EMAIL PROTECTED]> wrote:
> When I display a row, I am trying to display a row in a specific
> color.
> But, I am a bit confused as to how it should work within the
I like that brevity and simplicity, but could you clarify what's going
on with this line:
last_request = request.get( 'last_request', now )
After all I've gone through, and with it appearing to work, I want to
make sure I understand any changes!
On Jan 31, 5:49 pm, "Honza Král" <[EMAIL PROTECT
hi all,
i have a model like this:
class Verb(models.Model):
name = models.CharField(maxlength=20)
related_verbs = models.ManyToManyField('self',null=True,
blank=True)
def __str__(self):
return self.name
class Admin:
pass
i added a new 'verb' object, using the dja
Hi,
im embedding a SVG in a template like this:
[div]
[embed id="embedded_svg" src="/site_media/test.svg" /]
[/div]
[img src="/site_media/test.gif" /]
both, svg and gif are in my static content directory.
gif is displayed, svg isnt.
when i open the html directly, both files are displayed (af
On 2/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I like that brevity and simplicity, but could you clarify what's going
> on with this line:
> last_request = request.get( 'last_request', now )
get() is method on python dictionaries:
Help on built-in function get:
get(...)
D.get(k[,
btw, some literature about python and programming in general would
perhaps be in order...
I recommend diveintopython.org
On 2/1/07, Honza Kr�l <[EMAIL PROTECTED]> wrote:
> On 2/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > I like that brevity and simplicity, but could you clarify wha
Thanks. I've been working my way through diveintopython as well as
some other materials, but obviously have a long way to go.
That, and request.session.get() makes a bit more sense!
On Feb 1, 10:18 am, "Honza Král" <[EMAIL PROTECTED]> wrote:
> btw, some literature about python and programming in
greetings,
i am attempting to fetch an object or all objects from a model and
make the data available at the template level via a custom template
tag. it seems like you cannot return an object or all objects from
the template tag, as django throws the error: "object does not support
item assignm
Why do you need to break the lines? It's hard to give you a good
solution without knowing the reason. Do you need your text to be
broken along a certain max-char-width parameter?
It would be pretty simple to write a python function to dice up the
field's value on the server side, post-submittal.
Hi there,
I wrote recently a short summary on common vulnerabilities of web
applications, with examples in Python (but TurboGears). Obviously,
this is relevant for Django users as well.
http://www.thesamet.com/blog/2007/01/16/prepare-for-attack%e2%80%94making-your-web-applications-more-secure/
Hi,
I want to do some custom validation in the django admin. I have a
model which looks like:
class Message(models.Model):
name = models.CharField(maxlength=30)
date = models.DateField()
speaker = models.CharField(maxlength=30)
path = models.FileField(upload_to='messages/%Y/%m/%
The patch provided for ticket 3387 works perfectly!
2007/2/1, Michael Radziej <[EMAIL PROTECTED]>:
>
>
> Sebastien Armand [Pink]:
> > This time it's done. The ticket is here:
> > http://code.djangoproject.com/ticket/3412 I hope it's enough documented.
>
> Merci! I finally realized that it's not ab
Hello,
Is it possible to use forloop.counter0 as an index into a list?
For example:
in my view I have:
array=[10,11,12,13]
in my template I have:
{% for item in items %}
counter = {{ forloop.counter0 }}
1st val of array = {{ array.0 }}
nothing appears here: {{array.forloop.counte
This seems like it should be a pretty easy concept, but I cannot
figure it out. I've spent the past day searching for how to
incorporate multiple views on the same page with absolutely no luck.
This seems like a topic that would be crucial to incorporate into the
documentation and/or tutorials.
O
Sorry, django.contrib.admin.urls is the wrong view, I am trying to use
the correct login view.
On Feb 1, 1:51 pm, "adamr" <[EMAIL PROTECTED]> wrote:
> This seems like it should be a pretty easy concept, but I cannot
> figure it out. I've spent the past day searching for how to
> incorporate multi
Why not use template tags?
On Feb 1, 12:54 pm, "adamr" <[EMAIL PROTECTED]> wrote:
> Sorry, django.contrib.admin.urls is the wrong view, I am trying to use
> the correct login view.
>
> On Feb 1, 1:51 pm, "adamr" <[EMAIL PROTECTED]> wrote:
>
> > This seems like it should be a pretty easy concept,
Honza, if I ever meet ya, I'm buying you a cookie. Here's what I ended
up with. Hopefully it'll help someone else.
import datetime
class LastSeen (object):
def process_request(self, request):
now = datetime.datetime.now()
last_request = request.session.get( 'last_request', now
i might not be understanding exactly what you mean, but i think what
you want is this:
http://www.b-list.org/weblog/2006/06/14/django-tips-template-context-processors
On Feb 1, 7:54 pm, "adamr" <[EMAIL PROTECTED]> wrote:
> Sorry, django.contrib.admin.urls is the wrong view, I am trying to use
>
im having problems making the testproject work. i get a
'multilingual_tags' is not a valid tag library: Could not load
template library from django.templatetags.multilingual_tags, cannot
import name get_language_code
although i copied mult..tags to django.templatetags. never used
templatetags myse
I'm developing a new project based off one of the recent trunks. I did
this because I wanted to use newforms. Since the project is in a
constant state of flux should I checkout a new version every day,
every week, or month.
It seems that if I do this every day, that maybe the least painful in
the
I still don't really grasp how that applies.
For example, my url processor will use the included view which auto-
generates the login form when I go to "accounts/login/"
Alternatively, when someone goes to the index page, the url processor
uses the "news" view so it can display the recent news f
as far as i get it, its 1 view per url. - a view is a response to a
request, you ALWAYS get only one request, and for each posible request
(url) you make one view.
so if there is something you want to use over and over again in more
than one view (as a form), you just make a custom tag or a conte
Adamr, I still think you're looking for template tags. My index page,
for example, just goes direct_to_template, then is filled up with
various things from all over... login form, and at least three other
apps.
On Feb 1, 1:45 pm, "ashwoods" <[EMAIL PROTECTED]> wrote:
> as far as i get it, its 1 v
jeffhg58 wrote:
> When I display a row, I am trying to display a row in a specific
> color.
> But, I am a bit confused as to how it should work within the cycle
> command.
>
> Here is my line of code.
>
> {% for item in result %}
> {{ item }}{% endfor %}
If you want a new row for each "item", y
I am reading the django book. It is great. When do we expect the roll
out of Chapter 7: Form processing and Chapter 13: Comments.
thx.
ihome
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
On 2/1/07 2:08 PM, ihomestore wrote:
> I am reading the django book. It is great. When do we expect the roll
> out of Chapter 7: Form processing and Chapter 13: Comments.
When they're done :)
Jacob
--~--~-~--~~~---~--~~
You received this message because you are s
On 1/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Jan 31, 1:19 pm, "MerMer" <[EMAIL PROTECTED]> wrote:
> > I have a form where a user needs to enter a 8 digit code. I want to
> > check the user's input against a database and return an error if the
> > code has already been entered by
clarification: not strictly "40hrs a week"; this is flexible.
On 1/31/07, Kumar McMillan wrote:
> Dear Djangoists,
>
> the company I work for is looking for a new contractor to work on a
> "phase 2" of a django app now in production. You are the captain of
> the ship but will be working alongsid
On 1 Lut, 20:30, "ashwoods" <[EMAIL PROTECTED]> wrote:
> im having problems making the testproject work. i get a
> 'multilingual_tags' is not a valid tag library: Could not load
> template library from django.templatetags.multilingual_tags, cannot
> import name get_language_code
Make sure you hav
Hi I need some advice about this:
In the app I'm developping, there are many parameters like country names,
activity domains for entreprises etc... I wanted to put all these parameters
in a db table so I created a class Parameters with two fields : category
(country,activity) and value (Holland, U
Yeah I think I get what you're saying now. I found a few tutorials
that used template tags to get data out of a model. Do you know if
there are any examples of how to do this with a form?
On Feb 1, 2:56 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Adamr, I still think you're looking for t
Probably the easiest thing would be to send the form as you're doing,
then bring the other stuff in with template tags.
On Feb 1, 3:06 pm, "adamr" <[EMAIL PROTECTED]> wrote:
> Yeah I think I get what you're saying now. I found a few tutorials
> that used template tags to get data out of a model.
You have to config your apache, I think it's 10mo max by default
--~--~-~--~~~---~--~~
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 unsubscri
Henrik,
I've been stuck in a a place like Ron's all morning. I thought I had
gotten to a later problem when I started getting Django errors
indication that there was 'no module mysite.urls', but I just gave it
another try, and I'm back to the mod-python error 'no module named
mysite'. I seem to
I made it through the tutorial, finally :).
Now, I want to attempt my first semi-real project (outside of the
tutorial). I'm going to require registration to my site. Therefore,
I will need some way to authenticate users. Is there something built-
in that I'm supposed to be able to use for thi
On 2/2/07, uğurdevriL <[EMAIL PROTECTED]> wrote:
>
> i added a new 'verb' object, using the django admin, when i want to
> delete that object, django admin throws exception below:
Look like this might be related to ticket #2828. The message is
certainly familiar. If you can add any details to the
On 2/1/07, Giorgio Salluzzo <[EMAIL PROTECTED]> wrote:
>
> class Project
> ...
> staff = models.ManyToMany(User)
>
> My concern is the fact that I should loop over all my projects and get
> the staff for each ot them.
If Project has a ManyToMany field, then Users will have a field called
On 2/1/07, Michael Radziej <[EMAIL PROTECTED]> wrote:
> > is there a
> > HOWTO somewhere on how to write a test which does the whole model,
> > database sync, etc etc cycle?
>
> http://www.djangoproject.com/documentation/testing/
>
> explains how tests and fixtures work. Look for an existing test
Hello,
I'm trying use form inheritance to render the form, but it seems
Django just renders the child fields and not the parent ones. Is this
a feature or a bug?
class Pare(forms.Form):
...: referencia = forms.CharField(max_length=12)
class Fill(Pare):
...: test = forms.IntegerFi
On 2/2/07, aaloy <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I'm trying use form inheritance to render the form, but it seems
> Django just renders the child fields and not the parent ones. Is this
> a feature or a bug?
>
>
> class Pare(forms.Form):
>...: referencia = forms.CharField(max_leng
On 02-Feb-07, at 12:16 AM, mtnpaul wrote:
> It seems that if I do this every day,
every morning *after* coffee - you may need the stimulant, but
joking aside, the commits are usually so responsible that you could
do it before coffee
--
regards
kg
http://lawgon.livejournal.com
http://nrc
63 matches
Mail list logo