in templates/whatever that refers to the
> underlying flatchoices.
>
> For clarity, please see the documentation:
> https://docs.djangoproject.com/en/4.2/ref/models/instances/#django.db.models.Model.get_FOO_display
>
> Kind regards,
> David
>
> On Wed, 5 Apr 2023 at 0
/#django.db.models.Model.get_FOO_display
Kind regards,
David
On Wed, 5 Apr 2023 at 09:10, 'Ibrahim Abou Elenein' via Django developers
(Contributions to Django itself) wrote:
> Dear All,
>
> I am writing to report an issue I encountered while working with Django
> admin. I had a model with a fie
Dear All,
I am writing to report an issue I encountered while working with Django
admin. I had a model with a field that uses Choices as follows:
```
status = FSMField(default=STATUSES.PENDING, choices=STATUSES,
protected=True)
```
I overrode the get_status_display method, but to my surprise
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2023/apr/03/django-42-released/
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubscribe from
result:
when i deployed latest code in server do not delete media files
--
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
I have read previous discussions (most recent I could find was Dec 2013
[1] ) on the inclusion of `HTTP_X_FORWARDED_FOR` based logic to get the
"real" IP address of an HttpRequest. From what I can see, currently there
is currently no automatic handling of `HTTP_X_FORWARDED_FOR`
Hi! I am Kaushik. I have been working around the Database connection pool
for a while now.
I have posted my initial proposal on the django forum, you can access it
from here - Forum Database pool connection
<https://forum.djangoproject.com/t/regarding-database-connection-pool-in-django-g
Hi, would like to partner with you on the project, I like the idea behind
it, and I think you should make it a part of Django rather than a separate
package, also there's a code am working on
On Thu, 23 Mar 2023, 14:19 Raza ul Mustafa, wrote:
> Hey Django developers,
>
> I am a Django
Hey Django developers,
I am a Django developer with about 2.5 years of experience. I just decided
to contribute to the Django framework. I am interested in adding a new
decorator in Django. This decorator will be used for file validation
purposes.
This decorator checks the file extensions
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2023/mar/20/django-42-rc1/
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubscribe from this grou
Since my last post, I've discovered that the current implementation
<https://github.com/durvalcarvalho/django/blob/0bcc03aba565b0b28436ce3633b0e5bba709f414/django/db/migrations/autodetector.py#L619>
only handles simple ForeignKeys and not more complex cases like
ManyToMany
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2023/feb/20/django-42-beta-1-released/
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubs
Hello Django developers,
I'm new to the community and I'm not sure if this is the right place to ask
my question, so please let me know if there's a more appropriate channel
for this type of discussion.
I would like to ask for feedback on my approach. I have found what I
believe
Hi Django developers,
I'm new to the community and I'm not sure if this is the right place to ask
my question, so please let me know if there's a more appropriate channel
for this type of discussion.
I am currently working on ticket #24686 and I need help. I have figured out
what I think
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2023/feb/14/security-releases/
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2023/feb/01/security-releases/
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubscribe from
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2023/jan/17/django-42-alpha-1-released/
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubs
Hello,
It would be awesome to also have a Threadless alternative for Europe, to avoid
huge delivery costs and customs fees.
Best regards,
Dim 15 janv 2023, à 09:03, 'Adam Johnson' via Django developers (Contributions
to Django itself) a écrit :
> There is a Django Threadless store where
Awesome thanksSent from a mobile device!On 15 Jan 2023, at 08:03, 'Adam Johnson' via Django developers (Contributions to Django itself) wrote:There is a Django Threadless store where you can buy T-Shirts and other merchandise, which all supports the DSF: https://django.threadless.com/It’s
Hi!
I think you've found the wrong mailing list for this post. This mailing
list is for discussing the development of Django itself, not for support
using Django. This means the discussions of bugs and features in Django
itself, rather than in your code using it. People on this list are unlikely
There is a Django Threadless store where you can buy T-Shirts and other
merchandise, which all supports the DSF: https://django.threadless.com/
It’s linked from the fundraising page:
https://www.djangoproject.com/fundraising/
I have a Django phone case from there!
On Fri, Jan 13, 2023 at 11:44
Hi there,
A few Django versions ago (1.7 and maybe 1.8?!), t-shirts were produced and
sold (i guess for fundraising purposes?).
Just wondering given the forthcoming LTS is 4.2, which has similarities to
Douglas Adams's answer to the life, universe and everything, whether a new
t-shirt could
It will be used to track customer, inventory, financial affairs.
Django accounting software.
There are examples on githup.
perfexcrm this application can be referenced.
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to D
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2023/jan/02/bugfix-release/
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubscribe from this grou
Hi!
I think you've found the wrong mailing list for this post. This mailing
list is for discussing the development of Django itself, not for support
using Django. This means the discussions of bugs and features in Django
itself, rather than in your code using it. People on this list are unlikely
Hello everyone, so I have I have this issue when trying to update a profile
photo in django.
The Profile photo actually updates if I upload an image. But there are
cases where a user may want to update other details without updating the
profile photo.
Trying to implement that gives me
essage 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.com.
> To view this discussion on t
this message would help a lot.
Christian
--
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-developer
, as Python complains:
>
> File
> "/home/christian/Projekte/medux/src/medux/core/migrations/0001_squashed_0003_alter_address_id_alter_addressmapper_id_and_more.py",
> line 57
> code=medux.core.migrations.0001_initial.create_admin_user,
>
edux.core.migrations.0001_initial.create_admin_user,
^
SyntaxError: invalid decimal literal
So I suppose that is not intended. Is this a django bug? Should I file
this as issue?
Cheers,
Christian
--
Dr. Christian González
https://nerdocs.at
--
You received this
edux.core.migrations.0001_initial.create_admin_user,
^
SyntaxError: invalid decimal literal
So I suppose that is not intended. Is this a django bug? Should I file
this as issue?
Cheers,
Christian
--
Dr. Christian González
https://nerdocs.at
--
You received this
r the fun of stirring the pot, what's the opinion on letting
> Django define an API for the ORM and letting a library deal with the
> DB-specific implementation that generates the SQL for query? Django could
> have a list of officially supported DBs ('django.db.postgres'
I second Jörg about better maintainability with tighter integrations.
However, for the fun of stirring the pot, what's the opinion on letting
Django define an API for the ORM and letting a library deal with the
DB-specific implementation that generates the SQL for query? Django could
have
I tend to believe the opposite is true. Django was/is a successor in its
field, because it offers an "out-of-the-box" or "batteries included"
experience. Subsequently parts were shaped as needed for that bigger
picture, e.g. the ORM became what it is today.
Does anyone s
Hi,
Given the small number of Django ORM maintainers, making the ORM standalone
will, among other things, increase the adoption of Django and bring in new
maintainers.
An ORM inspired by Django ORM with over 3000+ stars:
https://github.com/tortoise/tortoise-orm
--
You received
I've taken some time to read all the discussion again, imagine some
scenarios, and read the comment that Collin made at it's own PR at GitHub
here <https://github.com/django/django/pull/15019#issuecomment-1202695265>.
Most of them would need to break compatibility, and now I
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2022/dec/06/bugfix-release/
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this grou
n of Cookies doesn't follow the RFC 6265
> <https://www.rfc-editor.org/rfc/rfc6265> correctly, especially the *Path*
> part that seems to be ignored. That was already an attempt here:
> https://github.com/django/django/pull/15019, but @collinanderson
> <https://github.com/col
Currently the implementation of Cookies doesn't follow the RFC 6265
<https://www.rfc-editor.org/rfc/rfc6265> correctly, especially the *Path*
part that seems to be ignored. That was already an attempt here:
https://github.com/django/django/pull/15019, but @collinanderson
<https://g
, django-environ,
etc. are more than fine as stop-gaps), but it would be nice to preclude
further effort/work on this issue if we're never going to move forward with
it. While I realize it was never Accepted, that nuance may be lost on new
visitors given the prior work history on the issue...
Cheers
The thread that Carlton refers to is
https://groups.google.com/g/django-developers/c/q20_Cxske88 -- don't be
deterred by the title of it, it really talks about handling settings as
well :)
I kinda agree with James. I'd like to have a proper answer for handling
settings rather then go setting
ent.
If I followed correctly, it would be OK to ship an environment backend with
Django (perhaps with some simpler ones for development/testing) leaving
more advanced options open.
I think Florian has ideas here.
On Mon, 28 Nov 2022 at 23:20, James Bennett wrote:
> It feels like this needs to
I recently did a bit of an audit of "settings types" whilst preparing for an
overhaul of django-classy-settings.
I found you could cover a majority of the common config types if you could
somehow parse from an environ string the following (which closely aligns with
django-enviro
It feels like this needs to be a broader conversation about not just
changing DATABASES to accept a URL, or integrating a particular
database-settings project, but to re-think how Django does
settings-from-environment as a whole.
When I'm setting up new Django-based projects, django-environ
Kind Regards,
Carlton
On Mon, 28 Nov 2022 at 14:03, 'Tobias McNulty' via Django developers
(Contributions to Django itself) wrote:
> Hi Carlton,
>
> Responses inline below:
>
> On Mon, Nov 28, 2022, 2:40 AM Carlton Gibson
> wrote:
>
>> Hi Raphael, thanks for picking this
Hi Carlton,
Responses inline below:
On Mon, Nov 28, 2022, 2:40 AM Carlton Gibson
wrote:
> Hi Raphael, thanks for picking this up.
>
> Looking at the history here, particularly the discussion here
> https://groups.google.com/g/django-developers/c/UQjpzB39JN0/m/
I see you posted afresh in the other thread, addressing some of the points
here. C.
On Mon, 28 Nov 2022 at 08:39, Carlton Gibson
wrote:
> Hi Raphael, thanks for picking this up.
>
> Looking at the history here, particularly the discussion here
> https://groups.google.com/g/django-
Hi Raphael, thanks for picking this up.
Looking at the history here, particularly the discussion here
https://groups.google.com/g/django-developers/c/UQjpzB39JN0/m/XGqdV8nbBwAJ
but there are others, the reason this hasn't already happened is that if
we're going to merge this into core it would
Alright, I tried to revive Tom Forbe's work on this in
https://github.com/django/django/pull/16331
My honest feeling here is that if Django existed just for me, I would
really just want to get this pulled in as an option, and trying to increase
the scope beyond "given a URL, get a dicti
Thank you, Adam.
I really appreciate your help.
Best
On Saturday, November 26, 2022 at 10:16:45 PM UTC+3 Adam Johnson wrote:
> Hi!
>
> I think you've found the wrong mailing list for this post. This mailing
> list is for discussing the development of Django itself, not for supp
Hi!
I think you've found the wrong mailing list for this post. This mailing
list is for discussing the development of Django itself, not for support
using Django. This means the discussions of bugs and features in Django
itself, rather than in your code using it. People on this list are unlikely
a comment.
I have created another component (class) for the comments and assigned the
comments as a foreign key inside Profile and Post.
Do I have another solution?
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django i
Hi All.
I've drafted up a DEP for this adjustment here:
https://github.com/django/deps/pull/76
Please have a look if you're interested.
I've initially asked for review from the Technical Board and from James, as
the author of DEP 10, but any other input appreciated.
To simplify
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2022/nov/01/bugfix-release/
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubscribe from this grou
Hi!
I think you've found the wrong mailing list for this post. This mailing
list is for discussing the development of Django itself, not for support
using Django. This means the discussions of bugs and features in Django
itself, rather than in your code using it. People on this list are unlikely
)
raise Exception('Conflict at %s' % conflict_path)
else:
a[key] = b[key]
# Don't let this fool you that a is not modified in place
return a
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscrib
I think this could open up another way in which companies could get
involved in the development of Django by acting as a Sprint Sponsor. This
could include providing a venue and/or funding for travel and lodging
costs. Having a list of features that need to be sprinted on could attract
Django
developers (Contributions to Django itself)
wrote:
>
> Hybrid sound the best way, with remote first as otherwise you are excluding
> people who would need air travel that's not covered by someone else and can
> be very expensive how and are thus increasing a carbon footprint for
Hi all,
Almost scared to say it but, the discussion on the TB renaming and election
eligibility changes highlights the inappropriateness of the How Django is
released section of DEP 10.
It currently reads:
How Django is released
<https://github.com/django/deps/tree/main/accepted#id20>
No
n's example, I too share with you a proposal
> > that I made during DjangoCon US 2022 and that I have already shared
> > with some of you.
> > Inspired by an article by Will Vincent, I wrote my proposal for Django
> > Core Sprints, and its genesis, in an article and would al
one,
> Following Andrew Godwin's example, I too share with you a proposal
> that I made during DjangoCon US 2022 and that I have already shared
> with some of you.
> Inspired by an article by Will Vincent, I wrote my proposal for Django
> Core Sprints, and its genesis, in an articl
I am
trying to propose something in addition to them.
> Meanwhile, I think it is absolutely essential to drop the "Core" naming ...
The word "core" refers to the fact that the sprints I propose are
exclusively dedicated to the Django code, unlike what happens now in
the sprint
ing Andrew Godwin's example, I too share with you a proposal
> that I made during DjangoCon US 2022 and that I have already shared
> with some of you.
>
> Inspired by an article by Will Vincent, I wrote my proposal for Django
> Core Sprints, and its genesis, in an article and woul
.
Those last points, for me, are non-negotiable. The Django project
explicitly has only the roles defined in DEP 10. There are no special
statuses or classes of contributors whose input is more important than
others, and that is *deliberate*.
I knew when writing DEP 10 that some folks were never going
Hi everyone,
Following Andrew Godwin's example, I too share with you a proposal
that I made during DjangoCon US 2022 and that I have already shared
with some of you.
Inspired by an article by Will Vincent, I wrote my proposal for Django
Core Sprints, and its genesis, in an article and would also
21 Oct 2022, 04:30 Paolo Melchiorre (paulox), <
>> pa...@melchiorre.org> wrote:
>>
>>> Hi all,
>>>
>>> there is a package that provide in-memory data storage backend, but it's
>>> now abandoned.
>>>
>>> Having support for in-
ackage that provide in-memory data storage backend, but it's
>> now abandoned.
>>
>> Having support for in-memory data storage could be very useful for Django
>> itself and furthermore it would involve adding a small code with tests that
>> do not justify the creation of a
Big +1 from my side.
(Would indeed help me to write more portable unit tests.)
– Jacob
--
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 e
that provide in-memory data storage backend, but it's
>> now abandoned.
>>
>> Having support for in-memory data storage could be very useful for Django
>> itself and furthermore it would involve adding a small code with tests that
>> do not justify the creation of a fo
Yes, the package is that one and Josh mentioned it in the related issue
https://code.djangoproject.com/ticket/34110
But that package is unmantained and the feature that it provides can be
very useful to have directly in the Django core.
On Thu, Oct 20, 2022, 18:00 'Tobias McNulty' via Django
t; Hi all,
>>
>> there is a package that provide in-memory data storage backend, but it's
>> now abandoned.
>>
>> Having support for in-memory data storage could be very useful for Django
>> itself and furthermore it would involve adding a small code with tests tha
t provide in-memory data storage backend, but it's
> now abandoned.
>
> Having support for in-memory data storage could be very useful for Django
> itself and furthermore it would involve adding a small code with tests that
> do not justify the creation of a fork of that old package.
r in-memory data storage could be very useful for Django
> itself and furthermore it would involve adding a small code with tests that
> do not justify the creation of a fork of that old package.
>
> We are talking about this during the sprints at DjangoCon US 2023 in San
> Dieg
Hi all,
there is a package that provide in-memory data storage backend, but it's
now abandoned.
Having support for in-memory data storage could be very useful for Django
itself and furthermore it would involve adding a small code with tests that
do not justify the creation of a fork
Details are available on the Django weblog:
https://www.djangoproject.com/weblog/2022/oct/04/security-releases/
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this grou
Thanks for noticing, I added a missing tag.
Best,
Mariusz
--
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
Hi folks,
According to the Django's release process document[1], there should be a
signed tag for 4.1.1 yet I do not see it listed:
https://github.com/django/django/tags
Thanks.
[1] https://docs.djangoproject.com/en/dev/internals/release-process/
--
You received this message because you
Big +1. IMO tags should work like HTML tags, which can be spread across
multiple lines, as often done with multiple attributes. Also, Jinja does it.
If you're going to write a DEP, I'd say don't make it too long. The feature
is clear enough.
The old PR <https://github.com/django/django/pull/2
Hi Thibaud,
I don't have many contributions to Django, but FWIW, I'm happy to help with
development.
On Wednesday, September 28, 2022 at 1:42:11 PM UTC+3 carlton...@gmail.com
wrote:
> Hey Thibaud.
>
> Thanks for following up! Yes — happy to sheppard.
>
> (My other comment w
uss this in person with Carlton
> Gibson at the DjangoCon Europe sprints in Porto, who provisionally offered
> to act as a shepherd for this proposed DEP. This is on the condition that I
> find an implementation team as well.
>
> On Saturday, 24 September 2022 at 08:37:52 UTC+1 Thibaud Colas wrote
at 08:37:52 UTC+1 Thibaud Colas wrote:
> Hi django-developers, I would like to revisit a very old feature
> request: ticket #8652 Multiline tags and tag escape tags
> <https://code.djangoproject.com/ticket/8652>, proposed DEP Multiline
> Template Tags <https://github.c
Hi!
I think you've found the wrong mailing list for this post
(django-developers). This mailing list is for discussing the development of
Django itself, not for support using Django. This means the discussions of
bugs and features in Django itself, rather than in your code using it.
People
Hi django-developers, I would like to revisit a very old feature
request: ticket #8652 Multiline tags and tag escape tags
<https://code.djangoproject.com/ticket/8652>, proposed DEP Multiline
Template Tags <https://github.com/django/deps/pull/3>, and maling list
thread Revisiti
Why don't you also use the context and pass in an array to be rendered at
the htm?
There are too many repeating and hard code elements that could have been
done with a single foreach statement.
On Sat, Sep 24, 2022 at 2:27 AM Kiet Lam wrote:
> Hi Nishant,
> Yes. I would stick to using
Hi Nishant,
Yes. I would stick to using Django forms. It has a lot of inbuilt security
protection that is easily implemented at the front end like CSRF.
Cheers,
Kiet
On Fri, Sep 23, 2022 at 3:56 PM Nishant Sagar
wrote:
> Hey forks,
>
> I’m in little dilemma regarding Django forms. I'
That's what I wanted to know
Thank you sir
On Fri, Sep 23, 2022 at 7:42 PM Ken Whitesell
wrote:
> Absolutely.
>
> If you're using Django, then *use* Django. Take advantage of all the
> facilities it provides you.
>
> Yes, it's a little more work on your part to convert th
Absolutely.
If you're using Django, then *use* Django. Take advantage of all the
facilities it provides you.
Yes, it's a little more work on your part to convert this to a
Form-based template. But what it provides you are all the facilities
available within Django forms for data validation
t; Spanish
> Clay
>
>
>
>
>
> Your Availability :
> placeholder="Select Time"
> required />
>
>
> Upload your bill :
>
>
>
> "reset" />
> "submit" />
>
>
>
>
>
>
>
>
>
bill :
On Fri, Sep 23, 2022 at 7:20 PM siyamak abasnezhad
wrote:
> You can use widget Tweeks or crispy
>
>
> On Fri, Sep 23, 2022, 09:26 Nishant Sagar wrote:
>
>> Hey forks,
>>
>> I’m in little dilemma regarding Django forms. I'm working on a project as
You can use widget Tweeks or crispy
On Fri, Sep 23, 2022, 09:26 Nishant Sagar wrote:
> Hey forks,
>
> I’m in little dilemma regarding Django forms. I'm working on a project as
> a backend guy who doesn't know much about CSS and JavaScript so a frontend
> guy delivered me
Hey forks,
I’m in little dilemma regarding Django forms. I'm working on a project as a
backend guy who doesn't know much about CSS and JavaScript so a frontend
guy delivered me a form template designed using CSS, however, Django
documentation suggests that it's good practice to use Django forms
ebsite but got a problem
>>>> when I wanted to add timing to the post, timing like "2 minutes ago", "just
>>>> now" etc. I searched through the internet I couldn't get the right solution
>>>> (I don't know if there is solution for it yet). Then I
ke to share
>>> the codes with the community for review and improvements (if any). I have
>>> no idea where to do that, I will love to get a reply soon because I cannot
>>> wait to contribute to django. I am also ready to give full detail of the
>>> code and how to
n
>>> (I don't know if there is solution for it yet). Then I decided to go on a
>>> journey of solving the problem myself, which I did and I will like to share
>>> the codes with the community for review and improvements (if any). I have
>>> no idea where to do that, I will
mprovements (if any). I have
> no idea where to do that, I will love to get a reply soon because I cannot
> wait to contribute to django. I am also ready to give full detail of the
> code and how to use.
>
> --
> You received this message because you are subscribed to the Google Gro
Hi Bro can you help me i need big django projects as used generic views
how i can find the source I need samples compare to my projects
On Fri, 9 Sept 2022, 7:08 pm David Sanders,
wrote:
> Hi Pelumi,
>
> It's kind of you to offer code, however there is a similar func
internet I couldn't get the right solution (I
>> don't know if there is solution for it yet). Then I decided to go on a
>> journey of solving the problem myself, which I did and I will like to share
>> the codes with the community for review and improvements (if any). I have
>> no id
Hi!
I think you've found the wrong mailing list for this post. This mailing
list is for discussing the development of Django itself, not for support
using Django. This means the discussions of bugs and features in Django
itself, rather than in your code using it. People on this list are unlikely
don't know if there is solution for it yet). Then I decided to go on a
> journey of solving the problem myself, which I did and I will like to share
> the codes with the community for review and improvements (if any). I have
> no idea where to do that, I will love to get a reply soon because I
Then I decided to go on a
journey of solving the problem myself, which I did and I will like to share
the codes with the community for review and improvements (if any). I have
no idea where to do that, I will love to get a reply soon because I cannot
wait to contribute to django. I am also ready
101 - 200 of 9773 matches
Mail list logo