Hello,
So my question is a 2 part question. The first part leads into the second
part.
So my first question goes like this. Say I'm on a webpage and I go through
about 3 drop down selection filter menu's/options. I then hit submit. My
question is how would I pass these arguments to the view th
> 1) Can I make a site like this one (http://www.tamarawobben.nl) with
> Django.
> Till now I find no solution which I can have different numbers of
> articles on pages.
Yes, of course you can. You can almost do anything with Django as django to put
it simply mainly will output HTML Code which
Hello,
1) Can I make a site like this one (http://www.tamarawobben.nl) with
Django.
Till now I find no solution which I can have different numbers of
articles on pages.
The only thing I want to change is a collapse year/month menu
2) Does anyone know if I can work with Django on my shared hosting
Please try to change the Sitename in the backend at /admin/sites/site/
Per default its example.com
On Aug 8, 8:46 pm, When ideas fail wrote:
> Hi, i'm developing a feed but i still have a couple of questionss.
>
> 1. I have this in my models:
>
> def get_absolute_url(self):
> return "/bl
Hi, i'm developing a feed but i still have a couple of questionss.
1. I have this in my models:
def get_absolute_url(self):
return "/blog/%s/" % self.post_slug
but the rss has the links down as: http://example.com/blog/post_3/,
the blog/post_3/ is correct, how can i make sure its linked
On Tue, 2008-04-01 at 22:10 -0700, PENPEN wrote:
> 1. About select_related():
> It is said that it will automatically "follow" foreign-key
> relationships, selecting that additional related-object data when it
> executes its query. So it is not applicable for ManyToMany
> relationship, isn't it?
1. About select_related():
It is said that it will automatically "follow" foreign-key
relationships, selecting that additional related-object data when it
executes its query. So it is not applicable for ManyToMany
relationship, isn't it?
And if select_related() is used, will the queryset method
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
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
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
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
>
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
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
Hi Sebastien,
I don't see where the exact problem is and whether there's already a
ticket, but this is a bug within the newforms package. It is caused
due to newforms putting unicode into the models, but most parts of
Django are not unicode ready. You can search in the existing tickets
(with cate
Wow, sorry, I copied paste and didn't see the font was so awful!
2007/1/31, Sebastien Armand [Pink] <[EMAIL PROTECTED]>:
>
> So the exact unicode error is:
>
> UnicodeEncodeError at /entreprise/search/ 'ascii' codec can't encode
> character u'\xe9' in position 1: ordinal not in range(128) Request
So the exact unicode error is:
UnicodeEncodeError at /entreprise/search/ 'ascii' codec can't encode
character u'\xe9' in position 1: ordinal not in range(128) Request Method:
POST Request URL: http://localhost/entreprise/search/ Exception Type:
UnicodeEncodeError Exception Value: 'ascii' codec
On 30-Jan-07, at 6:26 PM, Sebastien Armand [Pink] wrote:
> Example with a school and a student class. Each student has a
> foreign key linking to the school where he studies. Through a form,
> I get the informations to create the student including the school's
> id. When I want to create a
Sebastien Armand [Pink]:
> - When I search something in my database, using icontains on a field, it
> doesn't work when there are non-asccii characters: a product field may
> contain (in french so with accents!!) télévision but when I look for "télé"
> I get a unicode error. If I look for "vision"
As you talk about this, if I remember well, the database is UTF-8 but the
web page which contains the form has no encoding declared. May this be the
source of troubles?
2007/1/30, James Tauber <[EMAIL PROTECTED]>:
>
>
>
> On Tue, 30 Jan 2007 13:56:12 +0100, "Sebastien Armand [Pink]"
> <[EMAIL PROT
On Tue, 30 Jan 2007 13:56:12 +0100, "Sebastien Armand [Pink]"
<[EMAIL PROTECTED]> said:
> - When I search something in my database, using icontains on a field, it
> doesn't work when there are non-asccii characters: a product field may
> contain (in french so with accents!!) télévision but when I
It helps!
I'll check better for the encoding problems...
2007/1/30, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
> 1. No, you can create a student with: Student.objects.create(name="Foo
> Bar", school_id=2)
>
> 2. Not sure... I have a Django application here, and when I search for
> "è", it returns
1. No, you can create a student with: Student.objects.create(name="Foo
Bar", school_id=2)
2. Not sure... I have a Django application here, and when I search for
"è", it returns the restaurant "Les Deux Frères" without problems.
Could be an encoding problem with your database or with your term
I've been trying Django and have 2 small problems:
- When I have a foreign key field in a model, is it possible to use just the
id of the foreign object or do we always have to use the object itself?
Example with a school and a student class. Each student has a foreign key
linking to the school wh
Thanks RajeshD
--~--~-~--~~~---~--~~
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 PROTECTED]
1. I am not sure about this one.
2. You will also need blank=True in addition to null=True in those
nullable fields.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
1. I've changed the TIME_ZONE in settings.py to 'Europe/Moscow'. Time
values saved in the database are 3 hours lesser than the times of
writing (now should be 4 hours of difference). When I open records in
the admin I see the same values as in the database. Can I see the local
time values in the a
26 matches
Mail list logo