drew Wall wrote:
>
> Very much appreciate the Django framework.
>
> I noticed in the docs
> <https://docs.djangoproject.com/en/dev/releases/1.11/#liveservertestcase-binds-to-port-zero>
> for Django 1.11 that the *DJANGO_LIVE_TEST_SERVER_ADDRESS* environmental
> variable is slat
y" to "ignore it completely", probably also in 1.9.
>
> Andrew
>
>
> On Mon, Mar 31, 2014 at 4:15 PM, Harry Percival
>
> > wrote:
>
>> Just found out that you can make Django behave in the "old way" by just
>> deleting the migrations f
rations should correctly detect this and insert blank strings for
> you then. If not, open a bug report!
>
> Andrew
>
>
> On Sun, Mar 30, 2014 at 5:13 AM, Shai Berger wrote:
>
>> On Sunday 30 March 2014 15:08:17 Harry Percival wrote:
>> > Ah, so the reason I was c
l&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
--
--
Harry J.W. Percival
--
Twitter: @hjwp
Mobile: +44 (0) 78877 02511
Skype: harry.percival
--
You received this message because you are subscribed to the
sactionTestCase? The first
will work in 90% of cases, the latter you can use if you have some more
specialised requirements...
On 29 March 2014 23:55, Carl Meyer wrote:
> On 03/29/2014 02:36 PM, Shai Berger wrote:
> > On Saturday 29 March 2014 19:11:17 Harry Percival wrote:
> >>
Provide a one-off default now (will be set on all existing rows)
2) Quit, and let me add a default in models.py
I thought TextField did have a default, the empty string?
On 29 March 2014 19:15, Harry Percival wrote:
> I suspect you're probably right. Having to run makemigrations i
ashmigrations exists to deal with this
> problem and move on.
>
> Andrew
>
>
> On Sat, Mar 29, 2014 at 9:42 AM, Harry Percival
> wrote:
>
>> Am just working on updating my book on TDD to django 1.7 based on the
>> beta. Currently half-way thru, not run into a
StaticLiveServerCase.
On 29 March 2014 18:10, Ramiro Morales wrote:
> On Sat, Mar 29, 2014 at 1:26 PM, Harry Percival
> wrote:
>
> >
> > [...]
> >
> > But I just wanted to express the fact that it feels a little
> > counter-intuitive. I don't
Am just working on updating my book on TDD to django 1.7 based on the
beta. Currently half-way thru, not run into any problems because I don't
use migrations until a later chapter, but when I do I will run into the
same problems Bernie mentions.
Will share more once I've finished the rewrites
Just updating my book to using the django 1.7 beta. I use
LiveServerTestCase a lot.
I used to rely on the fact that LiveServerTestCase "magically" serves
static files from app folders. I see the default functionality is that
this no longer works, but I can get it by switching to
StaticLiveS
command, and only if DEBUG* is set to
True.
Is that correct?
On 3 January 2014 15:44, Harry Percival wrote:
> Thanks Tim, let me make sure I understand the current functionality:
>
> - django.request is the logger for views (broadly speaking) any logging
> "elsewhere" woul
hat added that documentation and the related
> ticket helpful:
> https://github.com/django/django/commit/f0f327bb
> https://code.djangoproject.com/ticket/18993
>
> Documentation improvements would be welcome if you feel they are
> appropriate.
>
>
> On Saturday, Decembe
django-users/60d3c4c6-22f8-4de6-a376-6230c33ad0a9%40googlegroups.com
.
For more options, visit https://groups.google.com/groups/opt_out.
--
--
Harry J.W. Percival
--
Twitter: @hjwp
Mobile: +44 (0) 78877 02511
Skype: harry.perciva
Thanks gang.
@Russell, I assume you meant set MEDIA_URL = "/media/"
That works if I do it in settings.py. Interestingly, it doesn't work if I
try and do it via override_settings?
On Thursday, 19 December 2013 08:16:59 UTC, Aymeric Augustin wrote:
>
> On 19 déc. 2013, at 02:14, Russell Keith-
ord field.
>> Yes, he could just have the password and last_login fields and not use it,
>> but why should he need to carry around he extra weight when Django doesn't
>> need it.
>>
>
> @Harry, just out of curiosity, may I ask how you *do* authenticate your
Django's test runner overrides your settings to force DEBUG to be True,
which I understand the intention behind, but it is occasionally annoying.
One solution for those cases is to use `override_settings`, but that has
very weird effects when using `LiveServerTestCase`.
Minimal repro:
dja
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?
Here's the minimal repro:
https://github.com/hjwp/minimal-django-custom-user-model/commit/377a83a9c995b2346b79458dcb5
ion -- 404
On Thursday, November 29, 2012 11:29:29 PM UTC, Russell Keith-Magee wrote:
Hi Harry,
That particular page has been locked down due to problems we've had with
spam. If you let us know what you want to add, I can add an entry to the
list on your behalf.
Yours,
Russ Magee
nywhere.com/ (user/pass: test/test) it went pretty
> well. Great work !
>
> One question thought, most of the time, free accounts disappear at some
> point, when the company grows. Are you committed to maintaining free
> accounts ?
>
> Thanks for answering
>
>
&g
on the trac instance. my username is hjwp.
rgds,
Harry
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-developers/-/h6XZT7_QucIJ.
To post to this gro
Hi,
How can I create a Form with normal form elements and generic elements
together as ModelForm For using frontend CRUD.
For example;
Generic Model:
class Todo(models.Model):
user = models.ForeignKey(User, related_name="todo")
title = models.CharField(max_length=100, unique=False)
slug =
Hi every one,
my name is marcello, i'm from brazil, i'm new here and i'm not expert
with django but i try! =)
So... i have some question about multiple attach files,
if multiple attach file have discussed here before!?
Can i try dev this new models class or classes!?
sorry about my english...
a
Join here: http://www.blogrush.com/r18502062
--~--~-~--~~~---~--~~
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 unsubscribe from thi
To make money online survey taking, I have found that Cashcrate has
been the best use of my time and efforts. Not only are the surveys
frequent and ongoing, and you don't have to earn much to get your
first bank deposit/check, but their referral program is great. You can
find out more by clicking
24 matches
Mail list logo