I'm using Django 1.7 and I noticed something odd in my postgres query logs.
Almost every query has a "LIMIT 21" clause, including queries of the type
"Thing.objects.get(pk=#)", which could only ever return one row. This
behavior seems odd to me, but so far I haven't seen it come up in a place
Hi Everyone!
My question is how can I prevent illegal method calls in django web
application.
For example, take a method that updates the data of ExampleModel:
def examplemodel_changeform(request, examplemodel_id):
#Here is the source code of model updating...
Clicking on the submit
Hi,
Is it possible to specify that a FileField, when viewed in the admin, opens
its target url in a new tab?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Den 12/09/2014 kl. 20.19 skrev Benjamin Scherrey :
> I should assume then that this is something that the existing Django ORM
> cannot model?
It's a bit hard for me to grok your initial mail, but maybe you can use the new
Prefetch() class in Django 1.7 to filter your
On Friday, 12 September 2014 19:54:53 UTC+1, Izabella Gál wrote:
>
> Hi!
>
> Could you, please, help me to find the right way to create proxy to User
> model in Django 1.7?
>
> In 'myapp.models.py' I have a MyUser class which should inherit from the
> user model specified in
in django 1.6 on syntax error server also stops. but not fully. when i fix
the issue and save server restarts without i need to write "runserver"
command.
On Saturday, September 13, 2014 12:59:37 PM UTC+3, Andréas Kühne wrote:
>
> That's strange. A syntax error in my django 1.6 also stops the
That's strange. A syntax error in my django 1.6 also stops the server,
without restarting it. I think that's the way it should be, because the
server cannot continue processing invalid python files.
Regards,
Andréas
2014-09-13 10:19 GMT+02:00 Yunus Koçyiğit :
>
>
on django 1.7 if i made a syntax error on purpose like" a = [
'blablabla' " development server stops immediately with this error :
System check identified no issues (0 silenced).
September 13, 2014 - 08:18:01
Django version 1.7, using settings 'learning_site.settings'
8 matches
Mail list logo