Re: The blacklist / master issue

2020-06-21 Thread Robert Roskam
/yellow may have received _technical_ meanings from the last 50-60 years or so from the American-centric culture, and I speak ignorantly, since I'm an American, but I don't know if I can assume that other cultures do the same. Robert Roskam On Monday, June 15, 2020 at 12:28:23 PM UTC-4, Tom

Re: Google Patch Rewards program

2019-12-29 Thread Robert Roskam
I've made some minor contributions to django-csp, and CSP is an active area of interest to me. Should I send out the proposal myself or work with the core team? On Saturday, December 21, 2019 at 12:51:11 PM UTC-5, Adam Johnson wrote: > > I just saw Google is expanding their Patch Rewards

Raising awareness to issue #17664

2018-03-01 Thread Robert Roskam
I spent some time looking at this issue last week, and I wanted to raise awareness here. It's an issue that's been out there for 6 years, and I think I have a path forward. However, the path forward would be a breaking change. https://code.djangoproject.com/ticket/17664 -- You received this

Re: Adding a tutorial for Channels

2018-02-05 Thread Robert Roskam
+1 On Monday, February 5, 2018 at 7:05:11 AM UTC-5, David Foster wrote: > > This weekend I spent several hours getting Channels configured to run a > simple chat server . > This was an experiment I wanted to do before trying to integrate

Re: DEP Pre-posal: Re-Designing Django Forms

2018-02-05 Thread Robert Roskam
want to be in charge of the DOM inside them. Robert Roskam On Monday, February 5, 2018 at 5:26:25 PM UTC-5, Tom Forbes wrote: > > > Perhaps we should just be able to swap Forms with WTForms or another > python library and bake in ElementUI, > > There are a plethora of UI framewo

Re: models.CalculatedField feature

2018-02-03 Thread Robert Roskam
Hey, So has this stalled? Because this looked really great, and I was looking forward to seeing it! On Monday, November 20, 2017 at 10:31:31 PM UTC-5, ilya.ka...@jetbrains.com wrote: > > Thank you all. > > I've created a feature request https://code.djangoproject.com/ticket/28822 > and >

DEP Pre-posal: Re-Designing Django Forms

2018-01-31 Thread Robert Roskam
blem would be to inform the user before they submit the form that this is a problem. This catches it only on the server side. How should we implement that? You're on your own to figure it out. So in summary, I feel like this could be improved. And I'd like to take an whack at it! Robert Roskam -

Re: Feature request: get_first_or_404

2017-11-30 Thread Robert Roskam
I'd like a better fleshed out example from OP, as it seems trivial to implement yourself whenever you need it. It may be that I'm not understanding the suggestion. On Wednesday, November 29, 2017 at 2:20:39 AM UTC-5, Sergey Fedoseev wrote: > > IMO it shouldn't be added to Django because the

Re: models.CalculatedField feature

2017-11-19 Thread Robert Roskam
+1 for this approach. On Sunday, November 19, 2017 at 7:49:09 PM UTC-5, ilya.ka...@jetbrains.com wrote: > > Ok, can we have > > is_adult = models.DBCalculatedField(ExpressionWrapper(Q(age__gt=18), > output_field=BooleanField())) > > Any query for model with this field will be automatically

Paginator Class - Refactor page function for better abstraction

2017-04-06 Thread Robert Roskam
So the existing Paginator class is great for the standard use case. But recently I wanted to be have a Paginator that would return *at least per_page *x items. I called it FlexPaginator. My use case was that I had a group_by value that I wanted to keep together on the same page, and so the

Re: Proposal to merge django-csp into contrib

2017-02-16 Thread Robert Roskam
OK, I'll probably hold off for a little bit just in case someone else wants it. But I'll probably have some time soon to work on it. Robert Roskam On Wednesday, February 15, 2017 at 9:13:45 PM UTC-5, Tim Graham wrote: > > Yes, if a ticket goes weeks or months without activity, it's un

Re: Should Model.save() fix incorrect types that happen to save correctly?

2017-02-15 Thread Robert Roskam
+1, documenting in this case seems to be the most appropriate. Robert Roskam On Monday, February 13, 2017 at 10:51:59 AM UTC-5, Adam Johnson wrote: > > What do you think? Absent a better suggestion, we could document this >> pitfall so that there's something to point to when rel

Re: Proposal to merge django-csp into contrib

2017-02-15 Thread Robert Roskam
Hey All, So it's over a year later, and even though there is consensus, this ticket (https://code.djangoproject.com/ticket/15727) appears to have had no progress. Would it be OK if someone else were to pick up this ticket and move it forward? Robert Roskam On Sunday, December 6, 2015 at 11

Re: Guidelines to name python modules of Django applications?

2016-12-07 Thread Robert Roskam
+1 On Wednesday, December 7, 2016 at 11:25:05 AM UTC-5, Marc Tamlyn wrote: > > What Aymeric and Florian sayid. > > On 7 December 2016 at 15:58, Florian Apolloner > wrote: > >> On Wednesday, December 7, 2016 at 1:10:48 PM UTC+1, Aymeric Augustin >> wrote: >>> >>> I still

Re: Django

2016-11-01 Thread Robert Roskam
://docs.djangoproject.com/en/1.10/intro/tutorial01/ Robert Roskam On Tuesday, November 1, 2016 at 10:39:49 AM UTC-4, bhaskergaddam128 wrote: > > Hi everyone, > I am new to django,i want learn django indepth,could please let me know > ,how to start learning django and how start django pra

Re: Django ORM query syntax enhancement

2016-10-07 Thread Robert Roskam
+1 from me. I really like this approach to help making my queries more DRY. I also like how lightweight the library is altogether. Well done! For those looking for a direct link, here you go: https://github.com/Nepherhotep/django-orm-sugar On Thursday, October 6, 2016 at 1:04:56 PM UTC-4,

Re: DEP pre-proposal for a simpler URLs syntax.

2016-10-05 Thread Robert Roskam
among them. I think this syntax offers both simplicity in not missing dumb stuff like the leading ^ and the trailing $, but it also lets us work toward more expressive routing patterns in the future. Robert Roskam On Wednesday, October 5, 2016 at 4:08:08 PM UTC-4, Robert Roskam wrote: > > H

Re: DEP pre-proposal for a simpler URLs syntax.

2016-10-05 Thread Robert Roskam
_route('year_archive', 'articles/{year}/') config.add_route('month_archive', 'articles/{year}/{month}/') config.add_route('article_detail', 'articles/{year}/{month}/{day}/') config.add_route('slug_view', 'articles/{slug}/') config.scan() Robert Roskam On Monday, October 3, 2016 at 6:24:04 AM UTC-

Re: Django Channels Load Testing Results

2016-09-25 Thread Robert Roskam
websockets if you don't want to run redis for some reason. Robert Roskam On Wednesday, September 14, 2016 at 10:21:27 AM UTC-4, Chris Foresman wrote: > > Yes. Honestly, just explain what these results mean in words, because I > cannot turn these graphs into anything meaningful

Re: Django Channels Load Testing Results

2016-09-25 Thread Robert Roskam
foIFF3F0AQCLcB/s1600/Throughput%2Bnon-accumulated.PNG> Robert Roskam On Tuesday, September 13, 2016 at 9:50:18 AM UTC-4, Erik Cederstrand wrote: > > > > Den 13. sep. 2016 kl. 09.28 skrev Erik Cederstrand < > erik+...@cederstrand.dk >: > > > > First of all,

Re: Django Channels Load Testing Results

2016-09-25 Thread Robert Roskam
: > > Hi Robert, > > Thanks for doing this load testing. More context would be useful to help > us outside observers to understand the potentially different variables. Is > redis running locally or are you using elasticache? > > Regards, > Michael Manfre > > On Mon, Sep

Re: Django Channels Load Testing Results

2016-09-12 Thread Robert Roskam
: > > Is this one worker each? I also don't really understand the implication of > the results. There's no context to explain the numbers nor if one result is > better than another. > > On Sunday, September 11, 2016 at 7:46:52 AM UTC-5, Robert Roskam wrote: >> >>

Django Channels Load Testing Results

2016-09-11 Thread Robert Roskam
the results. https://github.com/django/channels/blob/master/loadtesting/2016-09-06/README.rst Robert Roskam -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this grou

Re: Adding an some warnings, checks, or exceptions for urls

2016-04-25 Thread Robert Roskam
, I'm sure."? I think there could be. One thing I hadn't thought about, though, is that core django maybe not be the right place, maybe django-lint or something like that. On Monday, April 25, 2016 at 12:48:00 PM UTC-4, Tom Evans wrote: > > On Mon, Apr 25, 2016 at 1:00 PM, Rober

Adding an some warnings, checks, or exceptions for urls

2016-04-25 Thread Robert Roskam
I realize this is a really, really obvious and easily fixed newbie error. But here it is: urlpatterns = [ url(r'^sitemap/', TemplateView.as_view(template_name='brochure/sitemap.html'), name="sitemap"), # More urls ] Sitemap should end with dollar sign. The problem isn't bad when

Re: Minor Feature Request: Unconfigured Allowed_Hosts Setting Should Raise ImproperlyConfigured Error

2015-06-10 Thread Robert Roskam
;> inconsistencies causing problems.) >> >> And the workaround for the annoying case would be simple - just go ahead >> and configure ALLOWED_HOSTS to something non-empty, even though you >> technically don't need it. >> >> Carl >> >> > [1

Minor Feature Request: Unconfigured Allowed_Hosts Setting Should Raise ImproperlyConfigured Error

2015-06-10 Thread Robert Roskam
I realize this is a simple thing, but I'm sure this will save some people time. Since Allowed_Hosts is a required setting, when debug mode is off, it should raise an appropriate ImproperlyConfigured error. I'm sure there's some broader discussion surrounding which settings should have this