Would it be an idea to have QueryDict accept a dictionary to construct it? Then
you could use it’s urlencode method to create the querysting. Seems like a
logical place to implement this to me.
Tino
> On 09 Nov 2015, at 14:30, Merijn Bertels wrote:
>
> I think would be a good th
--keepdb flag
Thanks,
Tino
On Mon, Aug 31, 2015 at 8:13 AM, Aymeric Augustin <
aymeric.augus...@polytechnique.org> wrote:
> On 31 août 2015, at 06:12, Andrew Godwin wrote:
>
> > I'm on board merging this without Oracle support - if I understand
> right, it means we just have
edge-case than typing a typo).
There is also watchdog [1], which also seems to work on Windows. It does
contain some C for OS X FSEvents bindings.
Tino
On Sat, Aug 8, 2015 at 11:53 PM, Aymeric Augustin <
aymeric.augus...@polytechnique.org> wrote:
> Hello,
>
> While writing some h
Hi Andrew,
>From reading your proposal, I really like this idea. I did not got around
to trying django-channels yet, but it will in August when I start a new
project (it's a PoC, so I can try out new stuff :). I hope to be able to
give you more feedback then!
Thanks so far,
Tino
On Th
, blog_index) ->
blog_resolver -> patterns be the replacement of the urlpatterns below?
Because I think the latter is a lot more readable.
Do you have an example of something that is easy to do with this API that
is hard or impossible with the current API?
Thanks,
Tino
On Sun, May 17, 2015 at 2
es. Please enter that
information below.") is a little oddly constructed...
Tino
On Mon, Apr 27, 2015 at 10:32 AM, Mark Bailey
wrote:
> I think the survey is a great idea.
>
> Following on from Shai's question "one big project, or many small
> ones?"... I am
Hi Erik, I like the way this is going!
I do want to emphasise the point that Josh made: you have to be able to
aggregate all ValidationErrors, otherwise things can become quite
frustrating. (Try to change your Skype password and you know why...)
Tino
On Wed, Mar 11, 2015 at 1:44 AM, Josh
Yeah, or default to admin/login.html. The admin ships with all necessary
"registration" templates, but for some reason only the login.html is
included in the admin directory.
On Tue, Mar 3, 2015 at 2:05 PM, Ilya Kazakevich
wrote:
> Hello,
>
> When I use Django auth, I need to provide login.html
d probably use it in the sense of "only include this block if", or "if
a, block, else block b". Redefining the content block does not seem to make
sense to me in those cases.
Tino
--
You received this message because you are subscribed to the Google Groups
"Django d
+1, sounds logical to me.
On Sun, Feb 15, 2015 at 4:42 PM, Marc Tamlyn wrote:
> +1 to removing it
> On 15 Feb 2015 14:16, "Aymeric Augustin" <
> aymeric.augus...@polytechnique.org> wrote:
>
>> Hello,
>>
>> During the multiple template engines refactor, I didn’t touch
>> TEMPLATE_DEBUG.
>> The on
he feeling Django
development has made a lot more continuous progress these last months.
Tino
On Tue, Jan 20, 2015 at 1:46 PM, Josh Smeaton
wrote:
> Definitely. I don't think any of the patches I've written have sat without
> review for longer than a day or two. The turn around on f
Congratulations! Looks like you've steadily moved it through.
Tino
On Tue, Jan 13, 2015 at 3:25 AM, Tim Graham wrote:
> We did it -- all features are in or out for alpha. Please consider master
> frozen for new features until we cut the stable/1.8.x branch later this
> week
link to it.
Tino
On Sun, Nov 9, 2014 at 7:54 PM, Aman Kumar wrote:
> i am trying the save the date using formmodel but it is giving error "The
> Course could not be changed because the data didn't validate."
> i attched themodel.py ,form.py and view.py
>
> --
>
`django.security`[1]?
And it appears colouring log messages is possible with a custom formatter
[2].
+1 from me to have more control over the output of the devserver.
Tino
[1]
https://github.com/django/django/blob/778ce245dd466bce1b19f89e52cf9ed8f1b46513/django/utils/log.py
[2]
http://stackove
Wouldn't this be easier?:
{'required': "", 'name': 'fieldname'} =>
{% for name, value in attrs.items %} {{ name }}{% if value %}="{{ value
}}"{% endif %}{% endfor %}
Tino
On Wed, Apr 9, 2014 at 11:53 PM, Gregor Müllegger wrote:
&g
;. Is this the right usage?
Tino
On Fri, Nov 22, 2013 at 2:18 PM, German Larrain wrote:
> On Thursday, November 14, 2013 12:55:32 PM UTC-3, Amirouche Boubekki wrote:
>>>
>>>
>>> 2013/11/14 Florian Apolloner
>>>
>>> We might have to fix the docs th
On Mon, Oct 21, 2013 at 2:13 AM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
>
> On Mon, Oct 21, 2013 at 7:17 AM, Tino de Bruijn wrote:
>
>>
>> On Mon, Oct 21, 2013 at 12:25 AM, Harry Percival <
>> harry.perci...@gmail.com> wrote:
>>
&g
a look at
django-authtools[1]. The last_login field will still be there, but it saves
you quite some lines of code, and it is not like that little database
column is gonna cost you. (I know, it feels impure. I had that feeling for
quite a while too, but hé, practicality beats purity :).
Tino
[0]
htt
On Thu, Oct 3, 2013 at 11:09 AM, Tom Christie wrote:
> * If a simpler GCBV implementation along the lines of django-vanilla-views
> is something we think we should working towards.
>
Hells yes, +1. I love CBV, but when it gets a little more complex, I get
dazzled.
> * What approaches we might b
ng environment variables as a
> source of configuration gives you that you cannot do using a python
> configuration file and it makes your configuration management messy
> and chaotic.
>
Well, it makes my code deployable anywhere where I can run python and have
the necessary resources,
ython port of
Foreman (that what Heroku uses) is a procfile based application manager
that also loads variables from .env files is also a way to pick those up,
if you run on Heroku for production for example.
Tino
[1]https://github.com/jezdez/envdir
[2]https://github.com/nickstenning/honcho
On Sat, S
for a template
author to evaluate it twice. If that didn't happen, *{% with %}* still
exists.
I don't see any other suggestions add in clarity, or make for significantly
less code.
- Tino
--
You received this message because you are subscribed to the Google Groups
"Django develope
and was referenced a few weeks ago on this mailinglist ([2]). Feel free
to comment on that ticket if you have new insights or a patch.
[1] https://code.djangoproject.com/ticket/19215
[2]
https://groups.google.com/d/topic/django-developers/3lpFZ380dzQ/discussion
Regards,
Tino
--
You received this message becau
the notion that
you have to add the USERNAME_FIELD yourself.
Regards,
Tino
On Wed, Nov 7, 2012 at 10:04 AM, Florian Apolloner wrote:
> Hi Alex,
>
>
> On Tuesday, November 6, 2012 11:55:39 PM UTC+1, Alex Ogier wrote:
>>
>> So, I went ahead and implemented the most u
+1 on a method that returns non upon not finding. We don't need to do:
try:
val = some_dict.get('key')
except KeyError:
val = None
either. A nget or get_or_none would save me a lot of boilerplate code in my
views as well.
Tino
On Tue, Oct 9, 2012 at 8:48 PM, Wim Feijen w
My django-email-login app (
https://bitbucket.org/tino/django-email-login/overview) does this by
putting a hash of the email adress in the username field. It isn't as nice
as it could be, but it works.
I would really like to see this solved another way, but it is a hard
problem with the cu
.
What is wrong with overriding dispatch and calling super? (Or not, if you
don't want to progress in the view)
Tino
On Fri, Mar 2, 2012 at 18:15, Jonathan French wrote:
> That's not the case - get_context_data, get_queryset, are examples of
> hooks like this preprocess one, not
to the
path that is provided so I can pass 'mysite.settings.production' for
example? And if it's not provided, listen to DJANGO_SETTINGS_MODULE for
backwards compatibility.
Tino
--
You received this message because you are subscribed to the Google Groups
"Django developers
method things should be allright in my opinion.
Tino
2011/9/16 Silver_Ghost
> I've already started on splitting patches so let me finish a work and
> separate tickets :)
>
> As I understand the problem, there should be patch without addition of
> `get_model` to resolve #16502 wi
empty list of templates.
Tino
On Thu, Sep 15, 2011 at 21:51, Aymeric Augustin <
aymeric.augus...@polytechnique.org> wrote:
> Hello,
>
> Yes, I think ticket #16502 should focus on the problem of CreateView: why
> doesn't it have a default template and does it need one?
&
'new account created'
email, or creates a link to 'activate account'/'pick your password'? This is
one of the biggest hurdles I usually have with the admin and giving other
people accounts, let alone having somebody not used to django be the
superuser or main admin.
Tin
bug is a
> problem. Perfect is the enemy of the good, and all that.
>
> All in all, I'd guess that of the "bug" category tickets I see I need
> to take the time to reproduce about half of them. Maybe 2/3rds.
>
> Jacob
Hi,
Thanks to both of you for the write ups. It
ind sharing your
workflow? Any scripts to create environments at certain revisions or
something alike? Or to quickly run the relevant tests?
Thanks,
Tino
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group,
+1 for giving a correct message. It has bitten me more than once, and I
really don't think it would make any attack harder.
The information you would give is the same information that can be acquired
by logging in to the main site first, and then trying to log in to the admin
site. So at the momen
Sorry I didn't reread this thread, or remembered it after my previous post.
I just replied to clearify my previous post.
Tino
On Mon, Oct 4, 2010 at 02:57, LookMa NoSQL wrote:
> Tino, are you joking? Did you even bother to read the OP's proposal. I
> think there is a real lack
re many possibilities for validating a model, and
at the moment we have quite some good tools for them. Adding another Meta
option for a small portion of the cases doesn't seem so necessary to me...
Anyway, that's just my 2c.
TinO
On Sun, Oct 3, 2010 at 05:58, LookMa NoSQL wrote:
&g
Hi,
Isn't this covered by model validation [1]?
Tino
[1]
http://docs.djangoproject.com/en/dev/ref/models/instances/#validating-objects
On Fri, Oct 1, 2010 at 15:59, hejsan wrote:
> Hi.
> I just filed a feature request on the same or similar issue, and this
> thread was
On Sun, Aug 8, 2010 at 00:19, adambossy wrote:
> I have a custom template tag that looks like so:
>
> @register.inclusion_tag('bar.html')
> def foo(b=None)
>return locals()
>
> The variables b is a boolean. How do I pass a boolean to it from the
> django template?
>
{% foo 0 %} or {% foo 1 %
f the page)
or http://vimeo.com/7618090 from 2:45'
Just my 2 cents,
Tino
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this
just use python's *tempfile.NamedTemporaryFile*[1]? That way
the file will get cleaned by the filesystem itself, unless you move it
somewhere else in your ``done`` method. If you pass delete=False, you will
be able to open the file again in the last step, as long as you properly
closed it b
On Tue, Jan 26, 2010 at 11:04, Jannis Leidel wrote:
> Am 25.01.2010 um 23:06 schrieb TiNo :
>
>
> Hi,
>>
>> I posted a message [1] to the Django I18N list on the 28th of December.
>> Apparently, it is also the last message to that list. Is the I18N list dead?
>
On Tue, Jan 26, 2010 at 01:55, Russell Keith-Magee
wrote:
> On Tue, Jan 26, 2010 at 6:06 AM, TiNo wrote:
> > Hi,
> > The reason I posted there was to see if anybody had any objections to the
> > one-liner patch [2] I suggested for a dutch translation that is wrong at
>
ible, but what about:
get_prep_db_value(self, value, connection=default_connection) ?
Wouldn't that accepts both current and new parameters?
Just my 2c,
TiNo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
and write some
tests, so I made an ExcludeField :D. See:
http://dpaste.com/hold/73186/
When Honza's modelvalidation is usable, that will probably be better,
but you might be able to use this in the mean time.
TiNo
--~--~-~--~~~---~--~~
You received this message
through sounds a little odd to me, as Vacation is the table 'through' which
the m2m is made. Shouldn't it be 'in_between' or something the like here?
(As Vacation is kind of 'in between' Person and Location)
just my 2p.
TiNo
On Mon, Oct 6, 2008 at 2:44 AM,
How about creating a widget that just displays the data? Then override the
form and use this widget instead of the default widget.
On Fri, Jul 4, 2008 at 6:14 PM, Alex Rades <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm writing an application which makes a pretty heavy use of the
> newforms-admin admini
46 matches
Mail list logo