Testing documentation

2012-11-05 Thread Daniele Procida
I have done some work on writing up a tutorial for testing (part 5 of the existing tutorial, in effect). My draft so far: I'd really appreciate feedback, on any aspect of this. Trac ticket is

Re: #16779 - a tutorial for first time Django contributors

2012-11-11 Thread Daniele Procida
On Sat, Nov 10, 2012, Tim Graham wrote: >Any specific feedback on this paragraph, or the tutorial as whole, would be >appreciated: My four thoughts: Firstly: I like to see things like: ./runtests.py --settings=test_sqlite include a comment when appropriate; in this case to say why we are

Tutorials

2013-01-06 Thread Daniele Procida
I am one of those people who can only learn things by doing them, and finds it very hard to grasp things from reference materials. The Django documentation is excellent on the latter, but not quite so good on the tutorials that would guide me through doing things in a way that will help me learn

Re: make the source code of the django tutorial available ?

2013-01-16 Thread Daniele Procida
I'm re-opening an old discussion - https://groups.google.com/d/topic/django-developers/MbLD1BL5xkQ/discussion. Sorry if it all comes out weird, I'm having to do it in Google Groups. I propose maintaining a repository of the Polls tutorial code, with each branch representing the state of the cod

Tutorial review

2013-01-30 Thread Daniele Procida
There has been some discussion of the tutorials on IRC, and at the same time I've been working through the tutorials again. I've made some amendments (who knows, they may even amount to improvements) and commented on them, at . Some of the change

Re: Tutorial review

2013-01-30 Thread Daniele Procida
On Thu, Jan 31, 2013, Daniele Procida wrote: >There has been some discussion of the tutorials on IRC, and at the same >time I've been working through the tutorials again. > >I've made some amendments (who knows, they may even amount to >improvements) and commented on the

An idea for the URL dispatcher

2013-03-20 Thread Daniele Procida
I have an idea for the URL dispatcher, and I'd like to know what your thoughts are. Often - not always but often - a Django URL will map to a model instance via a URLconf and a view. I can think of a few uses for a feature that used Django's URLconfs to return the model instance, if there is o

Re: An idea for the URL dispatcher

2013-03-21 Thread Daniele Procida
On Wed, Mar 20, 2013, Carl Meyer wrote: >> Often - not always but often - a Django URL will map to a model >> instance via a URLconf and a view >I think this is an interesting idea for some specific use cases, but I >don't think its implementation belongs in the core url-resolver code, >for a co

Messages templates documentation

2013-04-18 Thread Daniele Procida
could be expand to provide more guidance on how to implement this. For example, should messages be dealt with at the site template level, or at the application template level? This is particularly relevant if one

Re: Messages templates documentation

2013-04-19 Thread Daniele Procida
On Fri, Apr 19, 2013, Russell Keith-Magee wrote: >> So should the advice be to treat message template output as a site-wide >> feature, or as an application-related feature? > >I'm not sure I see why this is something that Django needs to state an >opinion on. Django deals with the issue at the s

Setting aside easy-pickings for sprints

2013-04-29 Thread Daniele Procida
At the start of the sprints at DjangoCon Europe next month, I'll be holding a workshop called "Don't be afraid to commit" for people who'd like to get involved in Django projects (including Django itself of course). It'll cover: virtualenv, using GitHub, writing tests and creating documentation

Re: Setting aside easy-pickings for sprints

2013-05-09 Thread Daniele Procida
On Mon, Apr 29, 2013, Daniele Procida wrote: >At the start of the sprints at DjangoCon Europe next month, I'll be >holding a workshop called "Don't be afraid to commit" for people who'd >like to get involved in Django projects (including Django itself of cour

Re: Perception of attitude in tickets

2013-05-10 Thread Daniele Procida
On Fri, May 10, 2013, Simon wrote: >Of course, once the ticket has been closed, the only way to appeal is >through the mailing lists. To myself as a newcomer, that just feels like a >way of making further dissent less visible. I'm sure this isn't the case >but that's certainly the feeling I go

Re: Perception of attitude in tickets

2013-05-14 Thread Daniele Procida
On Mon, May 13, 2013, Łukasz Rekucki wrote: >> The status WONTFIX sounds awfully rude to me. It's like saying "That's a >> pony and you can't have one, ever." It implies a terminal finality which >> actually isn't meant in some cases, because it is possible (as we've seen) >> and even sometimes r

Re: Remote participation in sprints

2013-05-15 Thread Daniele Procida
On Wed, May 15, 2013, Shai Berger wrote: >Hi all, > >This saturday and sunday there are supposed to be sprints in DjangoCon EU in >Warsaw. To my regret, I could not be present at the conference. However, >I may >be able to set aside the two days and participate in the sprint remotely. > >Will t

Re: Proposal: Prevent data loss in the admin

2014-12-08 Thread Daniele Procida
On Mon, Dec 8, 2014, Rune Kaagaard wrote: >I've made a branch that adds optimistic concurrency control to the admin: >https://github.com/runekaagaard/django-lock-the-admin/compare/adminlock. It >works for the main change object and inlines and has tests. All tests >passes with postgres and sql

Re: ANN: Django website redesign launched

2014-12-17 Thread Daniele Procida
On Tue, Dec 16, 2014, Schmitt, Christian wrote: >Somehow I hate it. The website is the worst website I've seen since a long >time. >The contrast is really aweful. >The issue Tracker got unusable due to the colors that aren't focused on >readability. > >Overall it looks like a mess, just to have a

Re: ANN: Django website redesign launched

2014-12-17 Thread Daniele Procida
On Wed, Dec 17, 2014, Torsten Bronger wrote: >> In the meantime I have removed you from our email lists, since >> your tone is not welcome here. Please don't come back unless you >> can communicate in a more acceptable way. > >Is this customary procedure on this mailing list in such cases? Peopl

Re: ANN: Django website redesign launched

2014-12-17 Thread Daniele Procida
On Wed, Dec 17, 2014, Rob wrote: >On Tuesday, December 16, 2014 5:58:00 PM UTC-5, Christian Schmitt wrote: >> >> Somehow I hate it. The website is the worst website I've seen since a long >> time. >> The contrast is really aweful. >> The issue Tracker got unusable due to the colors that aren't f

Re: How to Display the number of active users in Django Site with IP address

2014-12-21 Thread Daniele Procida
On Sun, Dec 21, 2014, Avinash Kunuje wrote: >How to Display the number of active users in Django Site with IP address Hello Avinash. You'll get answers to questions like this on the django-users email list, - the web interface is . The

Re: Updating logging docs

2014-12-30 Thread Daniele Procida
On Tue, Dec 30, 2014, Lee Trout wrote: >I'd like to see a mention of the defaults existing in >`django.utils.log.DEFAULT_LOGGING` *at a minimum*. Given the desire to >understand the entire technical scope I think it would be worth repeating >the default settings in the default logging configurati

Re: Django documentation doesn't show correctly in any browser

2015-01-13 Thread Daniele Procida
On Tue, Jan 13, 2015, Some Developer wrote: >Any suggestions? I'm pretty sure I can't be the only one who is having >issues. It's not looking like that for me, no idea what's happening for you. Daniele -- You received this message because you are subscribed to the Google Groups "Django deve

Re: TabularInline

2015-03-14 Thread Daniele Procida
On Fri, Mar 13, 2015, Rodrigo Ancavil wrote: >Can I display model's function fields on a TabularInline? Hi Rodrigo. You'll get answers to questions like this on the django-users email list, - the web interface is . The list you've post

Django's docs application as a reusable app

2015-08-14 Thread Daniele Procida
We've been looking at the application used by the Django Project to build and manage the Sphinx documentation: We want similar functionality for some of our own websites, because doing it this way is a much more seamless way than ha

Re: Django's docs application as a reusable app

2015-08-14 Thread Daniele Procida
On Fri, Aug 14, 2015, Jannis Leidel wrote: >Daniele, > >> On 14 Aug 2015, at 13:56, Daniele Procida wrote: >> >> We've been looking at the application used by the Django Project to >build and manage the Sphinx documentation: > >When you say we, who is t

Re: simplifying the install page

2015-09-25 Thread Daniele Procida
On Fri, Sep 25, 2015, Tim Graham wrote: >The install page mentions several different ways to install Django, from >pip install (recommended), to `setup.py install`, to symlinking the Django >checkout in your site-packages. Do you see any reason to keep the latter >methods instead of recommendi

User notification by email of account detail changes

2015-11-15 Thread Daniele Procida
I've been discussing with Florian on IRC a suggestion for improved account security. On many sites, you will get a message a message like this: >Hello evildmp, > >We wanted to let you know that your GitHub password was changed. > >If you did not perform this action, you can recover access by ent

Re: User notification by email of account detail changes

2015-11-15 Thread Daniele Procida
On Sun, Nov 15, 2015, Baptiste Mispelon wrote: >For your djangoproject account, you can change your display name and >email there: https://www.djangoproject.com/accounts/edit/. Heh, thanks, not even Florian was aware of that. Is this documented somewhere? Daniele -- You received this messag

Re: structural & functional review of django documentation

2015-12-28 Thread Daniele Procida
On Mon, Dec 28, 2015, Samuel Bishop wrote: >I think the general concept would be covered by either creating a "fourth >division". So we would go from "topics", "reference", and "how-to", to >"topics", "reference", "how-to", and "implementation"/"internals"/"APIs"/etc >Or enhancing the content i

Not calling things twice in templates

2013-06-02 Thread Daniele Procida
The for ... empty pattern in templates is common and useful: But this is another common pattern: {% if my_bonnet.bees %} {% for bee in my_bonnet.bees %} {{ bee }} ... In other words, w

Re: Not calling things twice in templates

2013-06-03 Thread Daniele Procida
On Mon, Jun 3, 2013, Russell Keith-Magee wrote: >> But this is another common pattern: >> >> {% if my_bonnet.bees %} >> >> {% for bee in my_bonnet.bees %} >> {{ bee }} >> ... >> >> The problem here is that my_bonnet.bees gets asked for twice, and it could >> b

Re: Not calling things twice in templates

2013-06-04 Thread Daniele Procida
On Tue, Jun 4, 2013, Andre Terra wrote: >I'm mostly concerned with ambiguous behaviour for the clauses which include >other operands. For example, Looking at the various solutions that have been proposed, I am not at all sure that this is something that the template author should have to deal w

Re: Meta-Proposal: Write *above* quotations in mailing list replies

2013-06-04 Thread Daniele Procida
On Tue, Jun 4, 2013, Yo-Yo Ma wrote: >If you're posting to this list by logging in to https://groups.google.com/ >rather than via email, I'd like to propose that you write your reply above >the quoted message to which you're replying. I think that would be a bad idea. >The way it stands now,

Explaining application instances

2013-07-11 Thread Daniele Procida
There are a couple of places in the documentation that refer to "application instances": However, it's not really clear what

Re: Explaining application instances

2013-07-11 Thread Daniele Procida
On Thu, Jul 11, 2013, Russell Keith-Magee wrote: >On Thu, Jul 11, 2013 at 3:57 PM, Daniele Procida wrote: >> I still don't quite see why one might want to run an additional instance >> of an application. If it's just to provide a different set of URLs for it, >>

Re: Deprecate admindocs?

2013-07-25 Thread Daniele Procida
On Thu, Jul 25, 2013, Aymeric Augustin wrote: >I'd like to deprecate admindocs. I love admindocs. When I first started using Django, I would always find ready to hand, and the fact that it was right there, in the interface of the thing I was working with, really helped me build a picture in

Re: Support Negative Indexing on QuerySets

2013-07-31 Thread Daniele Procida
On Tue, Jul 30, 2013, Andre Terra wrote: >As for the reasons for disallowing negative indexes, dcramer's comment in >the ticket makes it clear: there is no way to infer what the last item in a >query would be, except if you order it descendingly. For what is worth, >production code should never r

django.utils.functional.cached_property

2013-08-06 Thread Daniele Procida
Is there any reason why django.utils.functional.cached_property should not be documented, so that it can easily be used? I'd have a lot of use for it. Daniele -- You received this message because you are subscribed to the Google Groups "Django de

Re: django.utils.functional.cached_property

2013-08-07 Thread Daniele Procida
On Wed, Aug 7, 2013, Aymeric Augustin wrote: >2013/8/6 Daniele Procida > >> Is there any reason why django.utils.functional.cached_property should not >> be documented, so that it can easily be used? >> >> <https://code.djangoproject.com/ticket/20870> >&g

Re: django.utils.functional.cached_property

2013-08-08 Thread Daniele Procida
On Thu, Aug 8, 2013, Russell Keith-Magee wrote: >One suggestion -- a new special topic guide on performance tweaking I'd like to take that on, if unless anyone else feels they should be responsible for it, since it will involve a certain amount of

GZipMiddleWare documentation

2013-08-09 Thread Daniele Procida
What should the documents have to say on the subject now, in light of ? Daniele -- You received this message because you are subscribed to the Google Groups "Django developers" g

Re: GZipMiddleWare documentation

2013-08-10 Thread Daniele Procida
On Sat, Aug 10, 2013, Russell Keith-Magee wrote: >I also have a nagging feeling in the back of my head that there have been >questions raised about whether GZIPMiddleware should exist *at all* -- that >there's some niggling detail in the WSGI spec that says that GZip >compression should be applie

Performance optimisation documents, ticket 20877

2013-08-10 Thread Daniele Procida
Work in progress; comments appreciated: Daniele -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving

Usage and documentation of F()

2013-08-13 Thread Daniele Procida
I noticed while looking for material for that mentions that: product.number_sold = F('number_sold') + 1 is faster than: product.num

Re: Performance optimisations in the deployment checklist document

2013-08-16 Thread Daniele Procida
On Fri, Aug 16, 2013, Tim Graham wrote: >I don't think there's a reason to recommend one of the two cached sessions >backends over the other as the choice is application dependent, but +1 on a >link to >https://docs.djangoproject.com/en/dev/topics/http/sessions/#using-cached- >sessions as >so

Re: New contributor and Git

2013-08-19 Thread Daniele Procida
On Mon, Aug 19, 2013, Paul C. Anagnostopoulos wrote: >I'd like to contribute to Django by improving the "Built-in template tags >and filters" document. I forked the Django repository at GitHub. Then I >tried to clone it according to the instructions in "Working with Git and >GitHub." I receive

Idiot makes mistake

2013-08-20 Thread Daniele Procida
I am so sorry, no sooner than I am entrusted with the commit bit I have managed to push -f to django/django instead of my own fork, and God knows what kind of mess I have made. I am covered in shame and swear never to use -f again. So sorry, a million abject apologies. Daniele -- You receiv

version number in Django documentation URLs

2013-08-29 Thread Daniele Procida
RTFD.org can use "latest" for the version number in docs - why don't we? It would be nice to be able to refer for example to . Daniele -- You received this message because you are subscribed to the Google Groups "Django deve

Django Trac ticket keywords

2013-08-29 Thread Daniele Procida
Would there be any objection if I used a keyword ("afraid_to_commit" or something) to mark tickets that I think would be suitable for first-time committers doing the "Don't be afraid to commit" tutorial to tackle? That way I can provide a URL like:

Re: version number in Django documentation URLs

2013-08-30 Thread Daniele Procida
On Fri, Aug 30, 2013, Baptiste Mispelon wrote: >On 08/30/2013 12:10 AM, Daniele Procida wrote: >> RTFD.org can use "latest" for the version number in docs - why don't we? >> >> It would be nice to be able to refer for example to docs.djangoproject.com

Re: Django Trac ticket keywords

2013-08-30 Thread Daniele Procida
On Fri, Aug 30, 2013, Russell Keith-Magee wrote: > Is "afraid to commit" a different set of criteria to "easy pickings"? The >original intention was that the easy pickings checkbox would be populated >with tickets that were appropriate for first timers (because they were >relatively simple in sco

django.utils.functional documentation

2013-09-09 Thread Daniele Procida
There are caching/laziness-related functions and classes in django.utils.functional, but none seem to be documented (apart from cached_property which has documentation forthcoming). django.utils.functional.memoize Caches the output of a function in a dictionary. Could this be implemented as a

Re: GZipMiddleWare documentation

2013-09-10 Thread Daniele Procida
On Fri, Aug 9, 2013, Daniele Procida wrote: >What should the documents have to say on the subject now, in light of ><https://www.djangoproject.com/weblog/2013/aug/06/breach-and-django/>? > ><https://code.djangoproject.com/ticket/20887> I'm rasising this issue aga

Re: Performance optimisation documents, ticket 20877

2013-09-13 Thread Daniele Procida
On Sat, Aug 10, 2013, Daniele Procida wrote: ><https://code.djangoproject.com/ticket/20877> > >Work in progress; comments appreciated: ><https://github.com/django/django/pull/1463> Any further comments would be welcomed. There's some disagreement about the approp

Re: Performance optimisation documents, ticket 20877

2013-09-13 Thread Daniele Procida
On Fri, Sep 13, 2013, Florian Apolloner wrote: >On Friday, September 13, 2013 4:18:05 PM UTC+2, Daniele Procida wrote: >> >> Any further comments would be welcomed. There's some disagreement about >> the appropriateness of the last section, < >> https://githu

Re: Performance Docs

2013-09-21 Thread Daniele Procida
On Fri, Sep 20, 2013, Alex Gaynor wrote: >I didn't follow this PR as it was in progress, but I just sat down and read >them. I have to say I'm extremely saddened by >https://docs.djangoproject.com/en/dev/topics/performance/#alternative- >software-implementations. See if

IRC users invited to support PyCon UK Django sprinters

2013-09-22 Thread Daniele Procida
At the Don't be afraid to commit workshop at PyCon UK today there were a lot of attendees (31 of them). Many of them said they'd come to the Django sprint tomorrow (Monda

Re: IRC users invited to support PyCon UK Django sprinters

2013-09-23 Thread Daniele Procida
On Mon, Sep 23, 2013, Daniele Procida wrote: >At the Don't be afraid to commit workshop at PyCon UK today there were a >lot of attendees <http://dont-be-afraid-to-commit.readthedocs.org/en/ >latest/attendance_record.html#pycon-uk-in-coventry-22nd-september-2013> >(31 of

Hyperlink CSS on djangoproject.com

2013-09-24 Thread Daniele Procida
On djangoproject.com and the docs in particular, we don't underline hyperlinks, though we do, with dots, if it's a hyperlink to a class or function or module. That means users need to rely on the colour of the text to determine whether something is a link or not. It works fine for me, but I do

Re: Hyperlink CSS on djangoproject.com

2013-09-25 Thread Daniele Procida
On Tue, Sep 24, 2013, Marc Tamlyn wrote: >As someone who has color blindness (off the top of my head I can't remember >the exact condition, but it's not simple red-green that 1 in 8 men have) it >looks fine to me. Personally I like the distinction between the external >and internal links. It's n

A policy on calling super()

2013-09-28 Thread Daniele Procida
There's some discussion of a particular class, django.views.base.View, and whether its __init__() should contain a super(View, self).__init__(). But there's also a wider question of whether there should be a general rule about this, whether the inte

IRC users invited to support PyCon Ireland Django sprinters

2013-10-03 Thread Daniele Procida
I'm running a "Don't be afraid to commit workshop" at PyCon Ireland. The sprints will be on 14th to 15th October - . Last time it worked brilliantly well having a few active people in #django-sprint. If anyone can be around for the next one, that would be

Re: Design discussion: admin alert messages

2013-10-08 Thread Daniele Procida
On Tue, Oct 8, 2013, Ryan Allen wrote: >Good thought, I'll get some color test screenshots put together today. I've used which I thought was quite good, but perhaps you know of better ones. Daniele -- You received this message because you are subscribed to t

Re: Proposal to end the war with flake8 warnings

2013-10-09 Thread Daniele Procida
On Wed, Oct 9, 2013, Tim Graham wrote: >Our docs currently state: "Note, however, that patches which only remove >whitespace (or only make changes for nominal PEP 8 conformance) are likely >to be rejected, since they only introduce noise rather than code >improvement. Tidy up when you're next

Re: Introduction

2013-10-12 Thread Daniele Procida
On Sat, Oct 12, 2013, Jasvir Singh wrote: >I am Jasvir Singh, a student of Computer Science. >5-6 months ago, I started working on django and found it is a really >efficient tool. >Now I want to do some development for django. > >Can anyone please suggest me some task/project to do. Hi Jasvir. I

Re: Nginx and Ubuntu Service Define

2013-10-14 Thread Daniele Procida
On Mon, Oct 14, 2013, Muhammed TÜFEKYAPAN wrote: >I use digitalocean as a server. I upload my django project files on my >server and start to setup. Made postgresql settings etc but I can't define >my new project as a new service on nginx. How can I define my new projest >as a service and make

Re: ImportError: cannot import name actions

2013-10-15 Thread Daniele Procida
On Tue, Oct 15, 2013, rok wrote: >I have recently been testing the 1.6b4 tag with a new app we are >writing, using apache and wsgi. However, I could not get rid of the >following issue happening on every request: You'll be better off asking this question over on the Django users email list, rat

Re: ImportError: cannot import name actions

2013-10-15 Thread Daniele Procida
On Tue, Oct 15, 2013, rok wrote: >I thought since the 1.6 release is in the final stretch this might be >somewhat related to bugfixing. I posted it to the users forum. Well it could indeed be a bug of course. Is it feasible for your to reduce it to something easily reproducible? Daniele --

Re: An argument against mark_safe.

2013-10-17 Thread Daniele Procida
On Wed, Oct 16, 2013, Jonathan Slenders wrote: >Some people still have javascript in their templates and they use template >tags inside their javascript. :( I am not sure if you're saying this is a bad thing, but it is unavoidable, isn't it? For example I use the Google Maps API, and I don't k

Re: Help related executing system command from django

2013-10-17 Thread Daniele Procida
On Thu, Oct 17, 2013, Jorge Cardoso Leitão wrote: >I suggest you to post your question in the django-users mailing list. >This mailing list is for the development of Django itself. The django-users list can be found at . The #django IRC channel on

Django logo usage terms self-contradiction

2013-10-17 Thread Daniele Procida
"Additional text may not be added so that it appears to be part of the logo." section 3.2: "A group or event may use a logo that incorporates the Django logo by adding a word or picture [...]"

Re: Django logo usage terms self-contradiction

2013-10-17 Thread Daniele Procida
On Fri, Oct 18, 2013, Russell Keith-Magee wrote: >Thanks for the heads up. The first piece of text you've indicated predates >the second, so it needed to be updated. I've just made the change. > >As for there being no Section 3.1 -- I'm not sure what you're referring to >here. I can see a Section

Re: Creating a minimal custom user model. Seems last_login is required. Should it be?

2013-10-20 Thread Daniele Procida
On Sun, Oct 20, 2013, Harry Percival wrote: >I'm trying to create a minimal custom user model. The only thing I care >about is email. But it seems Django really wants me to set a last_login >field. Can I avoid it somehow? > >I don't care about last_login! Can this be circumvented? Should t

Re: Creating a minimal custom user model. Seems last_login is required. Should it be?

2013-10-21 Thread Daniele Procida
On Mon, Oct 21, 2013, Tino de Bruijn wrote: >@Harry, just out of curiosity, may I ask how you *do* authenticate your >users? I think he challenges them to a sword fight with rolled-up umbrellas. Daniele -- You received this message because you are subscribed to the Google Groups "Django deve

Re: When to use single quotes and double quotes

2013-10-27 Thread Daniele Procida
On Sun, Oct 27, 2013, Zach Borboa wrote: >I'm seeing a mix of both singly- and doubly-quoted strings in django source. >Other than docstrings wrapped in triple-double-quotes, when is it >appropriate >to use double quotes instead single quotes? As far as I understand it doesn't make any differen

Re: Want create patch for smth

2013-10-31 Thread Daniele Procida
On Thu, Oct 31, 2013, Dmitriy Dmitrienko wrote: >My name is Dmitry. I want to create patches for smth , because in my >university a teacher wants to create patches for the Moodle system, but i >hate moodle and i don't have a choice and it's wrong. >I am not genius of programming, but i was writ

Re: Django-Should I be here?

2013-11-03 Thread Daniele Procida
On Sun, Nov 3, 2013, zobcl...@gmail.com wrote: >I need a web application to do the following: > >1. Authenticate a user (approx. 500 users) then show the user a list of >registered devices within the servers dhcpd.conf file. > >2. Offer the user the option to delete an existing device. > >3. Of

Django Weekend Cardiff

2013-11-13 Thread Daniele Procida
(With apologies if you have already seen this on another email list or newsgroup.) The UK's first-ever Django conference will take place on the 7th-9th February 2014 in Cardiff, Wales. The programme for the event: Friday: tutorials and demonstrations (also open to t

Re: How to install Django?

2013-12-04 Thread Daniele Procida
You'll get answers to your questions on the django-users email list, - the web interface is . The list you've posted to is django-developers, an email list is for the discussion of the development of Django itself. You might also find hel

Re: Django admin, 'Save as new' option, duplicate m2m relations

2013-12-10 Thread Daniele Procida
On Tue, Dec 10, 2013, Gheorghe Chirica wrote: >I have a simple model which have few m2m relations. > >Now, I enabled option in admin panel to duplicate model so, "Save as new" >option. > >It saves my model as a new one, no problem with that. > >But I want to duplicate m2m relations I have for o

Re: Revisiting multiline tags

2014-04-03 Thread Daniele Procida
On Thu, Apr 3, 2014, Carl wrote: >As someone said earlier in the thread, making Python programmers deal with >long lines seems like some special form of torture ;) My own use case is this: {% with placeholder_width=960 generic_main_width=523 sidebar_image_size="294x196" entity_image_size="445

"Master/slave terminology" (was: Master/slave trolling pull request accepted to django master branch)

2014-05-27 Thread Daniele Procida
On Tue, May 27, 2014, Meira wrote: >As some of you may have notice, a hot discussion is happening in the >comments of this pull request: https://github.com/django/django/pull/2692 If by "hot discussion" you mean silly pictures and noisy accusations... There is a discussion to be had about this

Re: "Master/slave terminology" (was: Master/slave trolling pull request accepted to django master branch)

2014-05-27 Thread Daniele Procida
On Tue, May 27, 2014, Meira wrote: >Sorry, I accidentally sent a private reply :) I'll try to repeat it here >for others. I have replied, privately, but I wanted to add publicly: >The community is trying to protect the django project from the attack of >people who seek no good for django. Ple

Re: "Master/slave terminology" (was: Master/slave trolling pull request accepted to django master branch)

2014-05-27 Thread Daniele Procida
On Tue, May 27, 2014, Meira wrote: >> This second commit was discussed in a Trac ticket and everyone (even you!) >> was welcome to give their opinion. >> > >That's all nice and good, but why is the discussion taking the course of >whether or not we're accepting the second commit? It is clearly

Re: "Master/slave terminology"

2014-05-27 Thread Daniele Procida
On Tue, May 27, 2014, Andromeda Yelton wrote: >Which is a little beside the point as the process for merging PRs is not, >in fact, democracy. But is also fantastic, because I've spent the last >week reading TRAC and hanging out here and talking to lots of people trying >to figure out if Django w

Re: Master/slave trolling pull request accepted to django master branch

2014-05-27 Thread Daniele Procida
On Tue, May 27, 2014, Meira wrote: >Black people refer to themselves "a person of color", and then even shorten >it: PoC. Isn't that a ridiculous acronym? If I were black, I would be >deadly offended if someone dared to call me "a person of color"! You're not black though, and if some black pe

Re: Using Exisitng Database on PhpMyAdmin with Python and Django

2014-05-31 Thread Daniele Procida
On Sat, May 31, 2014, Olouge Eya Ekolle wrote: >How can I connect my existing MySQL database created on XAMPP to my >Python/Django project? You'll get answers to your questions on the django-users email list, - the web interface is . T

Ready for checkin

2014-06-16 Thread Daniele Procida
"Ready For Check-in" appears in the docs once; "Ready for Checkin" appears five times, and on Trac. Can we change it universally to "Ready for check-in"? Or better "Ready for core team review"? What's wrong with "checkin": * it's incorrect * I've more than once read it and imagined it must be

Re: Ready for checkin

2014-06-16 Thread Daniele Procida
On Mon, Jun 16, 2014, Greg Chapple wrote: >Would "Ready for merge" not be a more appropriate term? Well no - because it isn't ready for merge. It may well be far from ready. Ironically "ready for checking" is closer to the intended meaning. Daniele -- You received this message because you a

Re: Problem in doing Calcultion in django Application

2014-06-18 Thread Daniele Procida
On Wed, Jun 18, 2014, Muskan arora wrote: >I have a problem in calculating Sum. > my models.py is as follows :- You'll get answers to your questions on the django-users email list, - the web interface is . The list you've posted to is dj

Re: django less compilation to empty css

2014-07-09 Thread Daniele Procida
On Wed, Jul 9, 2014, Muneeb Ahmed wrote: > I have gone through a no of tutorials but cant able to compile less to css >What is the best technique to compile less to css in django. (Static >precomiler, yui, e.t.c) You'll get answers to your questions on the django-users email list, - the web

Re: deprecate contrib.webdesign? (#22789)

2014-07-11 Thread Daniele Procida
On Fri, Jul 11, 2014, Tim Graham wrote: >It provides the lorem template tag. The functionality has not changed in 7 >years and it has 20 commits in its history which are mostly maintenance >oriented (pep8, adding app loading compatibility). As long as it's not getting in anyone's way, and is n

Re: querry to pass jquery variable value to django template, please responce me need help one of yours...

2014-08-01 Thread Daniele Procida
On Fri, Aug 1, 2014, Jaiprakash Singh wrote: >unfortunately, i am not able find the solution, so require some hints from >all of u guys You'll get answers to your questions on the django-users email list, - the web interface is . The l

Re: Requiring GitHub login for actions on Trac

2014-08-07 Thread Daniele Procida
On Thu, Aug 7, 2014, Schmitt, Christian wrote: >Currently we already live in a world were everything gets connected. And >that is really awful. One must consider that Github is definitely a target >for intelligence agencies. And I don't mean the NSA only. >Maybe I'm a little bit too paranoid but

Re: proposing max line length of 119 + enforcing it with flake8

2014-09-03 Thread Daniele Procida
On Wed, Sep 3, 2014, Tim Graham wrote: >The biggest hurdle is cleaning up the existing code as we currently have >~1700 lines longer than that. I attached an initial patch on the ticket to >show how long strings can be restructured. If there is no objection, >perhaps I can work with some afrai

Re: Documentation tool

2014-09-06 Thread Daniele Procida
On Fri, Sep 5, 2014, Daniel Chimeno wrote: >I'm looking for a documentation tool for my django project. >Something like JavaDoc or PHPDoc, to be able to generate a HTML|PDF with the >models, views, urls.. >I've used sphinx to non-related Django projects, but I've never tried with >Django. Hi Da

Re: Two proposals for the Django Code of Conduct.

2014-09-07 Thread Daniele Procida
On Sun, Sep 7, 2014, Benjamin Scherrey wrote: >Number 84 sounds fine. #86 is just looking for trouble. You were wise in 84 >to keep it positive and not enumerate a list of "banned" behaviour. To have >86 be anything beyond providing a weapon to be used by anyone looking to be >"victimized" in ord

Re: Two proposals for the Django Code of Conduct.

2014-09-07 Thread Daniele Procida
On Mon, Sep 8, 2014, Benjamin Scherrey wrote: >Nothing you've written disagrees with what I said, nor do you address >the core concern I bring up about the "change of substance" which is chock >full of opportunities for the law of unintended consequences to come up and >bite us all. What in

Re: Two proposals for the Django Code of Conduct.

2014-09-08 Thread Daniele Procida
On Mon, Sep 8, 2014, Benjamin Scherrey wrote: >I thought I made my objections pretty clear in my original email but I'll >attempt to be more pedantic about it now. The specific language in the PR >86 is: > >"In addition, violations of this code outside these spaces may affect a >person's ability

Re: The greatest proposal yet: rename this damn group

2014-09-09 Thread Daniele Procida
On Tue, Sep 9, 2014, Russell Keith-Magee wrote: >As a matter of formality, I'd like to put this through the technical board >so that it isn't just a fiat decision by the handful of people motivated to >participate in this discussion. By the way, there are three related pieces of information (in

  1   2   >