preference here.
Johan
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-developers+unsubscr...@googlegroups.co
gt; if obj in list(queryset):
>
> Which I understand is already working? Why does the first line (without
> list()) should work anyway?
>
> And if users want performance, why not write:
>
> if queryset.filter(pk=obj.pk).exists():
> אורי
> u...@speedy.net
>
ase obj_last exists(): 6.0190791100030765
Le mer. 3 juin 2020 à 10:52, Johan Schiff a écrit :
> Thanks for great info.
>
> First, I'm leaning towards Aymeric's proposition here. I do recognize that
> there is a lot to consider.
>
> This seems to be important:
>
>1. Developers
unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/3928039038bac9b52279294f7efcac318dc80388.camel%40gammascience.co.uk
> <https://groups.google.com/d/msgid/django-developers/3928039038bac9b52279294f7efcac318dc80388.came
t;obj in
queryset" syntax, believing it does "the right thing".
//Johan
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails fro
=False,
email_formatter: callable = None,
url_formatter: callable = None,
):
...
Johan Schiff
Betahaus (SE)
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from
svn checkout allows me to track my changes
better, and upgrade them between releases.
Johan
From: django-developers@googlegroups.com
[mailto:django-developers@googlegroups.com] On Behalf Of Florian Apolloner
Sent: Monday, March 26, 2012 5:48 PM
To: django-developers@googlegroups.com
Subject: Re:
Well I can think of a whole lot of ways in which this can be done
'better' :) ... But, I don't have the time to change django atm so I
will have to live with it :) ...
Thanks for the help ...
On Feb 23, 4:14 pm, Tom Evans <tevans...@googlemail.com> wrote:
> On Thu, Feb 23, 2012 at 1:22
Nope there is not. I just thought it could be done as easily as for
manage.py.
Thanks
On Feb 23, 4:13 pm, Jani Tiainen <rede...@gmail.com> wrote:
> 23.2.2012 15:22, Johan kirjoitti:
>
> > Hi
>
> > I know how to create a new command in manage.py, this link explain
the application to
the INSTALLED_APPS tuple?
Regards
Johan
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to
django-
Got it! Thank you so much!
Johan
On Feb 12, 11:17 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On Fri, Feb 12, 2010 at 11:14 PM, Johan <johanharj...@gmail.com> wrote:
> > Hello,
>
> > I am trying to log into the IRC channel at #django-dev but I kept on
> >
to do before I can
join the channel? I'm not sure what it means by "identified with
services"
also, I'm quite new to IRC, so perhaps it's something completely
obvious that I overlooked?
thank you for the trouble,
Johan
--
You received this message because you are subscribed to the Goo
Thanks. This link is exactly what i need.
On Oct 29, 5:07 pm, Waylan Limberg <way...@gmail.com> wrote:
> On Thu, Oct 29, 2009 at 10:37 AM, Johan <djjord...@gmail.com> wrote:
>
> > I am
> > wanting to use the template engine outside the context of a django
&
Thanks for the quick reply. I discovered exactly what you said about 2
seconds after pressing the submit on my query.
On Oct 29, 4:50 pm, Russell Keith-Magee <freakboy3...@gmail.com>
wrote:
> On Thu, Oct 29, 2009 at 10:37 PM, Johan <djjord...@gmail.com> wrote:
>
> >
Hi. In django\template\__init__.py on line 54 there is a line of
code : from django.conf import settings. Firstly there is no
settings.py file in django\conf, ther is however a file called
global_settings.py. In my context the is issue is fxed by changing the
line to from django.conf import
and fully respect that. This patch is the result.
Just for reference, this is what I think should be done for an optimal
workflow:
* create table
* create m2m
* run custom data
* run fixtures
* run indexes
* emit "database done" signal
This way, you can still insert your fa
On Feb 10, 5:07 pm, Johan Bergström <b...@bergstroem.nu> wrote:
> Hey,
>
> On Feb 10, 4:51 pm, "ludvig.ericson" <ludvig.eric...@gmail.com> wrote:
>
>
>
>
>
> > On Feb 10, 1:13 pm, Johan Bergström <b...@bergstroem.nu> wrote:
>
>
Hey,
On Feb 10, 4:51 pm, "ludvig.ericson" <ludvig.eric...@gmail.com> wrote:
> On Feb 10, 1:13 pm, Johan Bergström <b...@bergstroem.nu> wrote:
>
> > Since Django executes my custom SQL before creating indexes, it's
> > impossible to achieve somethi
do, what I would like to
know is if there's a reason to why custom SQL is executed before index
creation.
Kind regards,
Johan bergström
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers&
Simplejson has been getting some version increments lately and Django
hasn't been including them (there are tickets), which is - in my
opinion - okay. Constantly upgrading the included simplejson library
is an never ending rabbit chase where required effort doesn't motivate
possible benefits
his thread (as well as beeing linked to the
crash-prone libmemcache library),
I don't think that cmemcache belongs as an alternative in Django.
Either offer an alternative
(pylibmc comes to mind, albeit at very young age) for performance or
remove it.
>
> Regards,
> Malcolm
Thanks,
Johan
--~
On Sep 18, 1:21 pm, "Marty Alchin" <[EMAIL PROTECTED]> wrote:
> On 9/18/07, Johan Bergström <[EMAIL PROTECTED]> wrote:
>
> > What is wrong with using FTP for intranet file shuffling? I don't
> > think frameworks should decide or advocate how you design yo
towards SFTP is in my opinion the way
forward.
> The is the same reasoning behind not shipping with a CGI handler --
> Django shouldn't make it easy to do stupid things.
I don't think this is the same thing. Why use encryption when you
trust the sender?
> Now, a SSH/SFTP backend... th
be solved on a similar fashion as above.
thanks,
Johan Bergström
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@google
> Can you use the ORM without a database adapter?
Ok, that might sound a bit stupid since you already kind of answered
that in the post above. What i meant was that Django has lot of
different imports, and without some of them (say a database adapter)
Django is crippled. I personally don't see
On Jul 12, 8:55 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> The other modules you mention are optional to a certain extent (don't
> technically need flup to do Django-as-WSGI, can use Django without a
> database or with your choice of DB adapter), but simplejson is
> absolutely required
)
cheers,
Johan Bergström
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group,
I recently made a patch that can be used to get a similar result.
You can find the patch here: http://code.djangoproject.com/ticket/4528
regards,
Johan Bergström
On Jul 4, 7:54 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
> I have the begging of something that may eventually get
28 matches
Mail list logo