By the way, when I try to commit using transaction.commit(), I get a
TransactionManagementError saying "This code isn't under transaction
management", which makes sense, as the cursor is not in a transaction
context.
On 14 Mart, 17:36, "omat * gezgin.com" <[EMA
I have two models, Artist and Album. I am able to add new albums via
the admin interface but the list of artists in the album edit / add
pages are not ordered.
If I am not getting the documentation wrong, this should be achieved
simply by stating the default ordering in the meta class. My
(simpli
I still need to solve this issue. Am I missing something obvious, or
can this be a bug?
Thanks again...
oMat
On 23 Mart, 14:37, "omat * gezgin.com" <[EMAIL PROTECTED]> wrote:
> I have two models, Artist and Album. I am able to add new albums via
> the admin interface b
I need to use the current request URI in a template. Thus, I am
passing the uri as a context variable, which is:
uri = request.META.get('REQUEST_URI') or request.META.get('PATH_INFO')
When I use this expression in the test server, which uses the
request.META.get('PATH_INFO'), everything is fine
request.META['PATH_INFO'] at production level ?
>
> uri = request.META.get('PATH_INFO')
>
> On 28 avr, 12:53, "omat * gezgin.com" <[EMAIL PROTECTED]> wrote:
>
> > I need to use the current request URI in a template. Thus, I am
> > pas
Hi all,
I am running the latest svn version on development web server and in
one of my applications, for each request, the view function is called
twice. Whether the request that triggers the view function is GET or
POST, another GET request follows the original and the view function
is called on
Thanks Enrico, it was an emtpy css left in the base template...
On 2 Mayıs, 17:41, Enrico <[EMAIL PROTECTED]> wrote:
> I got the same situation a long time ago...
>
> After a lot of headaches, I've noticed that I had an empty image tag,
> so the browser calls the current page twice, one time f
tried putting this variable
in my sites settings.py file but it didn't help.
Thank for any help...
omat
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
6 standalone version together with installed IE7 on the
same machine for testing. I think there might be a buggy interference
among them when running together. I will test with a machine with only
IE6 installed.
On 4 Mayıs, 02:47, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
>
pt cookies when running besides an installed
version of IE7. This can be with other combinations also, which I am
not going to test.
On 4 Mayıs, 09:51, "omat * gezgin.com" <[EMAIL PROTECTED]> wrote:
> No, the domain is "turkpop.com". I tried setting SESSION_COOKIE_D
every content and users?
oMat
--~--~-~--~~~---~--~~
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
Middleware'
- INSTALLED_APPS has 'django.contrib.sessions'
- database is in sync
Do you have any idea about what may be causing this?
oMat
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
model requires to define the title and tags as unique
together. But apparently:
class Post(models.Model):
title = models.CharField(maxlength = 50)
tags= models.ManyToManyField(Tag)
class Meta:
unique_together(('title', 'tags'),)
is not a valid de
here and how the slug fields are generated in
the Django code.
Thanks for any comments...
omat
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send ema
parameter. Instead, I would build my form, and generate the slug from
the data I receive explicitly. A few words on how prepopulate_from
works can be added to the documentation.
omat
On Jan 29, 6:14 pm, "Jonathan Buchanan" <[EMAIL PROTECTED]>
wrote:
> On 1/29/07, omat *
pplication recognizes the admin sub-class of the models
and builds interfaces accordingly.
Do you think this is a good model for the mailinglist manager's
purposes? How can I check if a model has a specific sub-class? And,
how can I access its methods
201 - 216 of 216 matches
Mail list logo