ls.ForeignKey(Invoice)
number = models.IntegerField()
product = models.ForeignKey('...')
class Meta:
primary_key=('invoice', 'number')
# OR
primary_key=('invoice__number', 'invoice__group',
'invoice__year',
, this issue is all thats stopping me from completing the
composite PKs patch.
On Nov 13, 7:19 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2008-11-13 at 10:53 -0800, David Cramer wrote:
> > Here's my proposal for the composite keys (which act much like
I volunteer for #17!
And I have working code for a pretty simplistic message handler which
is session vs database based (which is one of the proposals, sort of).
So I guess if that's whats wanted, I can mold it to fit what has been
discussed.
On Nov 13, 5:03 pm, "Jacob Kaplan-Moss" <[EMAIL PROTE
MAIL PROTECTED]>
wrote:
> On Thu, 2008-11-13 at 19:50 -0800, David Cramer wrote:
> > I was thinking beyond just handling Foreign Keys actually when I wrote
> > this up. It would allow for a more generic version of a generic
> > foreign key.
>
> Generic relations are quite
Not the *best* place to post this, but it does relate to Django dev.
Is it possible, and if so how, could one branch the Django trunk, and
throw it on Github?
>From what I've read I could then do some kind of "svn up" to merge in
latest changes easily from trunk, and also work on my branch (e.g.
I personally was a 0 on this one. Let me explain why. I want Django to
be a strong platform for developers, like myself, who really want the
opportunity to have power in the framework, as well as features. As of
lately I have been using Rails for a project, and to be quite honest,
the maturity and
I'm a bit confused how multi-threading has anything to do with AJAX?
Your requests will be slower, but they will still get processed (at
least I've never had any issues).
On Nov 16, 1:03 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> If the patch that's currently on there works with no chan
> options available ranging from asking around for help to organizing a
> team to contracting someone qualified.
>
> Finally, please keep in mind that the feature list we're drafting
> right now isn't set it stone. Anything that gets finished between now
> and the feature
http://github.com/dcramer/django-compositepks/tree/master#
On Nov 16, 5:25 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]>
wrote:
> On Sun, Nov 16, 2008 at 5:19 PM, David Cramer <[EMAIL PROTECTED]> wrote:
> > Also keep in mind that work has been done, but as I haven
here is one unrelated change I accidently
committed. The list_select_related changes I proposed.
There is also an issue with URL resolving in the admin (its a 1.1
proposal) so it's using a , vs a / for the delimiter, but it's a
simply setting change.
On Nov 16, 5:50 pm, David Cramer <[E
the branch as
well.
On Sun, Nov 16, 2008 at 6:00 PM, Jacob Kaplan-Moss <
[EMAIL PROTECTED]> wrote:
>
> On Sun, Nov 16, 2008 at 5:50 PM, David Cramer <[EMAIL PROTECTED]> wrote:
> > http://github.com/dcramer/django-compositepks/tree/master#
>
> Cool; I'll take a loo
I think I may have to actually agree that multi-threading is somewhat
needed, since it does limit these kind of features from working. I,
however, would deem it less a priority than most thing. If you can
write a patch for it (or if one exists, I didn't look) though, I don't
see any reason to not
I've been trying to dump some data to fixtures for the last couple
days, and I've ran into various problems each time. It's been quite
difficult each time to determine the problems, as there's no useful
tracebacks on the error messages:
[EMAIL PROTECTED]:~/Development/iplatform] ./manage.py dumpd
Ahh. I suppose that makes sense. Is there any reason it doesn't show
them by default?
On Nov 17, 3:45 pm, "Alex Koshelev" <[EMAIL PROTECTED]> wrote:
> Try to use `--traceback` switch that prints exception's traceback
>
> On Tue, Nov 18, 2008 at 00:41, Dav
My only opinion, is beyond the tutorial, people would much rather
search then dig for the link :)
On Nov 18, 10:54 am, "Clint Ecker" <[EMAIL PROTECTED]> wrote:
> Aw, I had actually started to like/get used to the old-new way ;)
>
>
>
> On Tue, Nov 18, 2008 at 1:44 AM, Adrian Holovaty <[EMAIL PROT
It would be a lot more useful if you put details in to it. Right now
this post looks like spam on the developers group.
I'm curious as to your issues with the Paginator class. Works great
for me (barring some additional context vars).
On Nov 17, 11:43 pm, Dipankar Sarkar <[EMAIL PROTECTED]> wrot
to_template, but if you use it
99% of the time, and if a vast majority of people are using it or
something similar 99% of the time, then render_to_response should be
changed to align with actual usage.
--
---
David Zhou
[EMAIL PROTECTED]
--~--~-~--~~~---~--~
specific rows, since that seems to use the primary key. So I clear()
>> and re-add instead of delete()-ing, since that doesn't use the primary
>> key. Fragile, but it beats doing the puppy-eyes to the DBA.
>>
>
>
> >
>
--
David Cramer
Director of Technology
iB
To avoid messing with the 1.1 Roadmap anymore. What happened with defer
(). I know personally myself, and several others who expressed
opinions, wanted more than just an exclude option, but an include-only
option.
Is this part of the "Exclude fields in a SELECT (QuerySet.defer())" or
is this just
elly" <[EMAIL PROTECTED]> wrote:
>
> > On Fri, Nov 21, 2008 at 1:05 PM, David Cramer <[EMAIL PROTECTED]> wrote:
> > > I won't use defer, and I won't recommend people use it. I think it's
> > > not good practice. It's like using .sele
Ok with all of that being said. I've checked the ticket (once again),
and there doesn't seem to be any API proposed for fields as include-
only. Is there another ticket other than #5420?
On Nov 21, 7:15 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Fri, 2008-11-21 at
2, 4:13 pm, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]>
wrote:
> On Sat, Nov 22, 2008 at 3:50 PM, David Cramer <[EMAIL PROTECTED]> wrote:
> > Ok with all of that being said. I've checked the ticket (once again),
> > and there doesn't seem to be any API p
+1
Update your damn distros. Generators are important :)
On Nov 26, 10:33 am, "Gary Wilson Jr." <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 26, 2008 at 7:23 AM, varikin <[EMAIL PROTECTED]> wrote:
> > On Nov 25, 7:16 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
> > wrote:
> >> However, even saying Dja
gt;> Jacob
>
> +1 -- because reusable apps developers could all close those
> py2.3-related bugs as wontfix.
But who has submitted those bugs? That's the interesting point.
David, +1
--~--~-~--~~~---~--~~
You received this message because you are
odels layout the app_label would be "models", now is set
to "some_app" with this change:
parts = model_module.__name__.split('.')
kwargs = {"app_label": parts[parts.index('models')-1]}
regards,
David Elias
--~--~-~--~~~
ll django always assume
"models" module must be contained by our app module.
regards,
David Elias
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group,
authentication backend which is called from within the
django.contrib.auth.logout method.
Does anyone have any thoughts on this? Would it be useful for any
other backends?
--
David Reynolds
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because
I have nothing against removing it from the built-in libs, but as long
as we look for the system's libraries first what's the big downside to
keeping it?
On Dec 1, 5:02 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Mon, Dec 1, 2008 at 4:21 PM, James Bennett <[EMAIL PROTECTED]> wrote:
On 1 Dec 2008, at 11:49, David Reynolds wrote:
>
> I have a custom authentication backend that requires a method to be
> run to log out of the system. It would be quite useful if there was a
> way
> to hook into the django.contrib.auth.logout method to run this custom
> me
t views
from django.contrib.auth.views
--
David Reynolds
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
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@googleg
I'll agree 100% that a request.is_ajax() hook to output some
simplified data would be awesome.
On Dec 2, 10:42 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Perhaps a better solution would be to vary based on request.is_ajax().
>
> Alex
>
> On Dec 2, 11:37 pm, kernel1983 <[EMAIL PROTECTED]
So I needed the ability to specify initial data for a wizard, and I
also liked the idea of storing it in the session (vs the POST). I was
pointed to the SessionWizard patch, and I believe this was a 1.1
possibility as well, so I figured I'd bring up the numerous issues.
First and foremost, the la
t have
to call methods manual. Let's decide which is more common.
On Dec 3, 7:50 pm, David Cramer <[EMAIL PROTECTED]> wrote:
> So I needed the ability to specify initial data for a wizard, and I
> also liked the idea of storing it in the session (vs the POST). I was
> pointed t
ht it
might be quite interesting and useful to have one for Django.
Thoughts?
0 - http://code.google.com/p/twitvn/
1 - http://twitter.com/wpdevel
--
David Reynolds
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
On 5 Dec 2008, at 19:17, "Eric Holscher" <[EMAIL PROTECTED]>
wrote:
> Check out http://twitter.com/DjangoTracker
>
Thanks Eric!
I never knew that existed!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
there are some
significant sections that new users would come across -- such as the
admin -- that I feel it would be better to unambiguously direct them
to documentation we *know* to be completely up to date.
--
---
David Zhou
[EMAIL PROTECTED]
--~--~-~--~~~---~--~--
On Sat, Dec 6, 2008 at 10:02 AM, Ludvig Ericson
<[EMAIL PROTECTED]> wrote:
>
> On Dec 6, 2008, at 09:07, David Zhou wrote:
>> Is it possible to reword the introduction on the Django Book website
>> (http://www.djangobook.com/) or perhaps somehow update it?
>
> I f
Awesome to see some people working on this. I had tried pre-queryset
refactor and It was just not doable witht he fields API. Can't wait to
see the final result of this :)
I'm also agreeing with the API of field = BitMaskField(choices=LIST)
On Dec 6, 10:37 am, Carl Meyer <[EMAIL PROTECTED]> wrot
of forms based on the data
stored each time, but not really sure.
On Dec 4, 5:23 am, "Hanne Moa" <[EMAIL PROTECTED]> wrote:
> On Thu, Dec 4, 2008 at 03:34, David Cramer <[EMAIL PROTECTED]> wrote:
> > When the done() method is called, the session is also cleared unles
nt and all new choices should be added to the end. Another option
> is to store the choices in something like the django_content_type field and
> verify on syncdb (or some other place, not sure where it would go) that any
> old field types were not assigned to a new mask.
>
> Craig
Oh no, now I'm going to get more emails saying the code needs
updated :)
There is a concept in the orm cache that splits it though, so you can
probably use that idea.
On Dec 7, 10:04 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On Sun, Dec 7, 2008 at 8:55 AM, Calvin Spealman <[EMAIL PROTECTED
To be perfectly honest, I'm +1 on a solution. I didn't realize this
was happening either.
Time to monkey-patch QuerySet's delete() method :)
(I'm also a bit curious as to how its handling cascades in MySQL when
it's not looping through each object)
On Dec 10, 12:43 pm, "Karen Tracey" <[EMAIL PR
There's not some
secret ORM API that is being purposefully withheld.
--
---
David Zhou
da...@nodnod.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group
hanks,
David
--
David Reynolds
da...@reynoldsfamily.org.uk
--~--~-~--~~~---~--~~
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
I'd like to propose the addition of some useful (and common) fields in
the django core. Things like a JSONFied, YAMLField, HTMLField?,
UUIDField, etc.
A lot of these seem like common things people use, and while many
examples are out there, it'd be nice to simply include these in core
so there's
gt; dealt with. (And I think if they subclass TextField they are reasonably easy
> to do without too much backend awareness.)
>
> My $0.02,
> Mike
>
> On Mon, Dec 15, 2008 at 5:07 PM, David Cramer wrote:
>
> > I'd like to propose the addition of some useful (
to hunt down
> dependencies would also be handy.
That makes a whole lot of sense I look forward to #4656 hitting trunk
too.
Cheers,
David
--
David Reynolds
da...@reynoldsfamily.org.uk
--~--~-~--~~~---~--~~
You received this message because you are sub
Recently we've been doing a lot of work with custom fields, and have
had a few inconveniences come up. Some minor, some not so much. I'd
like to propose a few changes to the API to make it easier to write
custom fields, especially those which use custom data structures.
The first of which, is the
I should also note, that these changes, could possibly be carried over into
Model Field's. As IIRC they were suffering from some of the same problems.
On Tue, Dec 16, 2008 at 12:03 PM, Jacob Kaplan-Moss <
jacob.kaplanm...@gmail.com> wrote:
>
> On Tue, Dec 16, 2008 at 9:06 AM, Da
Could we just use a lazy proxy for the value value? When it's executed, it
could then just call the get_value_from_db method (or whatever).
On Tue, Dec 16, 2008 at 12:37 PM, Marty Alchin wrote:
>
> On Tue, Dec 16, 2008 at 1:03 PM, Jacob Kaplan-Moss
> wrote:
> > This seems like a good idea to m
We simply send them to localhost. Learned the lesson long ago to not
spam a normal email account with it :)
On Dec 16, 4:15 pm, "Jeremy Dunck" wrote:
> On Tue, Dec 16, 2008 at 3:44 PM, Jacob Kaplan-Moss
>
>
>
> wrote:
>
> > On Tue, Dec 16, 2008 at 11:56 AM, Jeremy Dunck wrote:
> >> Since sendi
It would be kind of neat to have some generic autodiscover
functionality for this kind of stuff. Not only could you reuse it in
things like sitemaps, templatetags, and admin, but it could be used by
other developers for plugable systems of their own.
On Dec 19, 4:01 am, andybak wrote:
> I have r
While the Sitemaps framework in Django is fairly complete, there's a
few things it's lacking, namely the ability to specify attributes for
a Sitemap index file. We ended up rewriting our sitemaps, but I wanted
to throw our code up here for an example of what we came up. Keep in
mind that we are wr
Actually before I get a "wtf" response, I should note that the two
generators do not quite match. One is rendering a template, the other
is simply yielding XML. The latter approach is what I prefer, but I
was rushing to finish the index generator :)
On Jan 14, 11:49 am, David Cra
sh is pretty basic
but I just want to discuss those issues in order to help the community.
Regards,
David Larlet
#9749 http://code.djangoproject.com/ticket/9749
#373 http://code.djangoproject.com/ticket/373
--~--~-~--~~~---~--~~
You received this message because
Le 19 janv. 09 à 18:43, David Larlet a écrit :
> I got an issue with M2M relations because SQL is hardcoded and I
> can't catch it in Query(Set) object:
> http://code.djangoproject.com/browser/django/trunk/django/db/models/fields/related.py#L428
> It is/will be an issue for al
I have to ask a question here. Why is there such reticence regarding
App Engine? It would
seem to me that App Engine has been a feather in the cap for Django. A
lot of people don't know Django and at a previous job, I was able to
say that "Google chose django" for App Engine to help validate my us
working on big
1.1 features but I need it now and I'll work on it so feedback is
appreciated before I submit complete patches.
Regards,
David
ps: looking for tickets on this topic, I found #8962 which is
interesting in terms of consistency, note that the author discuss the
interest of settin
n Mon, Feb 9, 2009 at 11:20 PM, Malcolm Tredinnick
wrote:
>
> On Fri, 2009-02-06 at 09:51 -0500, David Stenglein wrote:
>> I have to ask a question here. Why is there such reticence regarding
>> App Engine? It would
>> seem to me that App Engine has been a feather in the cap f
s to clean them
> up in general).
That's the goal of #10109. Good to know there is eventually an
interest in this.
Regards,
David
http://code.djangoproject.com/ticket/10109
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Le 10 févr. 09 à 17:53, Alex Gaynor a écrit :
> David, I think I mentioned this to you, but I believe that by using
> the new F() objects we can actually remove the raw SQL entirely, I'd
> need to put some more thought into this(and perhaps Malcolm already
> has) but it s
Le 19 févr. 09 à 09:58, martin.xu a écrit :
>
> I like python 3k.,but I cannot run Django on python 3k?
>
> Is there any pacth that port Django to Python 3.0?
First result in google:
http://wiki.python.org/moin/PortingDjangoTo3k
Re
render appropriate markup given values.
My 2c,
David
--~--~-~--~~~---~--~~
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 unsub
When trying to add an object of the wrong type using a related
manager, Django fails silently rather than complaining as specified in
the docs:
http://docs.djangoproject.com/en/dev/topics/db/queries/#saving-foreignkey-and-manytomanyfield-fields
I've created ticket #10413 and added a patch to add
validation in the meantime?
Thanks,
David
--
David Reynolds
da...@reynoldsfamily.org.uk
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-
tion - no pun intended - but enabling
deletion by default is a bit "critical" (feedback from clients). Maybe
we can work together on #10595?
Regards,
David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
Hi Ted,
perhaps take a look at ticket #3011
(http://code.djangoproject.com/ticket/3011).
Greetings, David Danier
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to
I was never a fan of the profile model as it stands. It's not very
practical in every situation I've ever been in. Being that 1.0 was
supposed to be backwards compatible, and this is a public API I think
it needs to stay.
I'd love to see a way to swap out the User model in the future though,
rath
I've run into a bit of an odd problem with the ORM. I have a model
without an order_by in its Meta. When I create a queryset and iter
through it, I get the items in a sensical fashion. However, when I
access the the queryset items by index (qs[0], qs[1], etc), not only
do I get the items back i
There's a more subtle way to introduce the same bug. You can order on
a field that is not unique and run into the same issue: an undefined
return order due to duplicate values on the order column.
On Apr 24, 9:14 am, Alex Gaynor wrote:
> On Fri, Apr 24, 2009 at 10:09 AM, David Gouldi
On Fri, May 8, 2009 at 9:58 AM, Edwin Wong wrote
>
> Having followed the group here for some time, anybody posting a job
> posting or similar off-topic posting tends to be a first time poster,
> and in most cases it's very obvious that they never even bothered to
> read the group description. Th
I have created a test that does nothing but read in a fixture of 1
items.
http://novalis.org/bugs/perf.zip
It goes significantly slower on Django 1.1-beta and trunk than it does
in Django 1.0.
1.0: Ran 1 test in 16.904s
1.1: Ran 1 test in 21.541s
trunk: Ran 1 test in 21.228s
My rejected p
ey, it only took me about 2 hours to write this down, after thinking
about a solution for the last weeks). I would like to get some input on
this topic, about what you think model translations could look like.
Marc, I don't know if you have some proposal of your own. P
rently uses this. Foreign
fields by design always need some JOIN related to them, so this will
depend on conditional joins. If this gets implemented perhaps model
inheritance can be rewritten to use foreign fields, as this looks like a
more generic approach.
Did I miss something?
Greetin
On Sat, 2009-07-11 at 23:00 +0800, Russell Keith-Magee wrote:
> On Fri, Jul 10, 2009 at 5:00 AM, David Turner wrote:
> >
> > I have created a test that does nothing but read in a fixture of 1
> > items.
> > http://novalis.org/bugs/perf.zip
>
> I'd love
e, you can propose your ways to do real work on
> Django and get paid for this.
>
> So, what do you think about this ?
Alex,
Before organizations' discussion, maybe you should expose your
sponsorship's motivations?
Regards,
David
--~--~-~--~~~-
en using pluggable-model-i18n in a
productive environment.
Greetings, David Danier
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-devel
There was some discussion previously (see
https://code.djangoproject.com/ticket/17419) of adding a JSON encoding
filter to Django. This was rejected as being impossible (or very difficult)
to do securely. However the requirement to embed JSON in an HTML page is
quite a common one, and it's easy
handle some common cases.
>
> --
> Michael Mior
>
> On Tuesday, May 13, 2014 6:03:43 AM UTC-4, David Evans wrote:
>>
>> There was some discussion previously (see
>> https://code.djangoproject.com/ticket/17419) of adding a JSON encoding
>> filter to Django. Thi
note, it's good practice for JS templates to live within
> script blocks too. I have {% scriptblock %}{% endscriptblock %} that is
> sits next to {% jsonblock %} in my custom library since it uses the same
> escaping methods.
>
>
>
> On Tuesday, May 13, 2014 10:03:43 PM UTC+12, David
ISTS (...) and if that
table is very large then it is pretty slow
Perhaps the answer is just to modify what __isnull does instead of making a
new lookup
> On Thursday, August 7, 2014 7:43:07 PM UTC-4, David Butler wrote:
>>
>> It would be nice if there was some database level opti
Hey all.
In cloud environments, when using django.core.mail.backends.smtp.EmailBackend,
socket.getfqdn() is called to resolve the 'reported hostname' for smtplib. This
often resolves to an internal DNS name, not the intended name.
It would be convenient to provide a kwarg to allow overriding th
Hi Carlton,
I'm happy to help out with 1), if you think I would be helpful.
I will not be of much help with 2) :-)
David
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe
at are the current opinions on this
ticket?
Looking forward to hearing your views.
David
--
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 emai
Hi Carlton,
Thank you for the response. I really appreciate your continued support /
guidance.
Sorry, for asking the question in that way, eventually I'll learn 'how things
are done round here' :-)
I'll go and investigate in more detail.
David
--
You received this mes
Hi All,
I hope you are all well.
I've been thinking about static assets over the past week or so following
my email on widget media. I collated the past 6 year's worth of discussions
into a single source, with relevant extracts and links to sources. I've
also set out some options and given m
Hi Carles,
Hope you are well.
You mentioned you are using crispy-forms. :-)
Have you seen this part of the docs, it allows you to update forms 'on the go'.
I've not really played with this but it sounds similar to what you need?
https://django-crispy-forms.readthedocs.io/en/latest/dynamic_layo
s rather than a full solution.
The key thing here in the short term is the name change. If there are no
objections to this I am happy to look at an implementation. Could then come
back to the mailing list before it's merged, especially as it will be a
breaking change?
Kind Regards
David
The recent change to `url()` was a good example of this; even though it was in
a DEP and the docs for a long time it still caused a lot of noise when the
deprecation path was finally started.
The projects (ok, small sample) I've looked at are only now making this change.
Folks will only change
Nice! And thanks for sharing! I like this idea too. Why did you include
"if settings.DEBUG" by the way?
I still think injecting code explicitly has certain advantages:
* I believe AppConfig approach could be implemented in apps.py by the
package author. If they chose not to write their package
s permissions.IsAuthenticated in settings.py.
On Fri, Jul 24, 2020 at 1:11 PM '1337 Shadow Hacker' via Django developers
(Contributions to Django itself) wrote:
>
>
>
> Sent with ProtonMail <https://protonmail.com> Secure Email.
>
> ‐‐‐ Original Message ‐‐‐
> On 20201115, at 09:47, Tim Graham wrote:
>
> Hi Brian, There are existing threads about that (try searching the archives
> for 'default pk' to find some of them). Here's a PR that adds the setting you
> described: https://github.com/django/django/pull/13179. Perhaps you would
> like to try
s some insights about the project and how it could help on
this topic :)
Cheers,
David
On 23/12/2020 19:02, Tom Forbes wrote:
Thanks for all the input here!
I didn’t know about django-migration-linter, and it does seem quite
interesting. It works by looking at the complete set of SQL statements
n keys. I don't suppose that this would be a possibility
as a future extension of your pull request?
Cheers,
David
On Friday, August 11, 2017 at 4:15:26 AM UTC+10, Ian Foote wrote:
>
> Hi all,
>
> I've been working on https://code.djangoproject.com/ticket/11964 to add
&g
Sockets while also
touching on the important Channels concepts and linking to reference
documentation where appropriate. So I'd like to offer to write such a
tutorial.
Would this be a welcome contribution?
- David
--
You received this message because you are subscribed to the Google Gro
".
--traceback Raise on CommandError exceptions
--no-color Don't colorize the command output.
Thoughts?
--
David Foster | Seattle, WA, USA
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Djan
In creating my first django project- I'm trying to create my first
application (polls) through a view as shown below.
I'm finding the error shown in the image in the Annex.
can anybody help me?
I'm following the step-by-step suggested in (
https://docs.djangoproject.com/pt-br/1.11/intro/tutorial01
(eg staff member is now
employed) so in my context, both a value of NULL or a non-existent foreign
key are conceptually the same, meaning there's no person object present.
Regards,
David
--
You received this message because you are subscribed to the Google Groups
"Django developers (
Given the following example model:
class M1(models.Model):
m2_set = models.ManyToManyField('M2')
It is already possible to associate *one* M1 with *many* M2s with a single
DB query:
m1.m2_set.add(*m2s)
However it's more difficult to associate *many* M1s with *many* M2s,
particularly if yo
Errata: The proposed default value for assert_no_collisions is False rather
than True, for safety.
On Thursday, September 26, 2019 at 10:45:45 AM UTC-7, David Foster wrote:
>
> Given the following example model:
>
> class M1(models.Model):
> m2_set = models.ManyToManyField(
401 - 500 of 807 matches
Mail list logo