Hmm, when I remove the raise CommandError statement and replace it with
self.stdout.write, everything works well.
This helps me to point further studies. Thx!
On Wednesday, May 10, 2023 at 2:33:18 PM UTC+2 Bob Aalsma wrote:
> Ah, yes, thanks.
>
> I hesitate to comment on "I
ons/8609192/what-is-the-difference-between-null-true-and-blank-true-in-django
>>
>> On Wed, May 10, 2023 at 5:45 PM 'Bob Aalsma' via Django users <
>> django...@googlegroups.com> wrote:
>>
>>> Sorry Vishesh, thanks for the quick answer but I have no idea wha
ull but null=False is not set
>>
>> On Wed, 10 May, 2023, 17:27 'Bob Aalsma' via Django users, <
>> django...@googlegroups.com> wrote:
>>
>>> I'm trying to test a django-admin command and don't understand why the
>>> tests give errors on the code
I'm trying to test a django-admin command and don't understand why the
tests give errors on the code while the code works as expected.
I'm under the impression that the *raise CommandError* is ignored by the
test, but don't understand why this would be.
Please help.
Running the code shows:
How big can a smile be?
Works!
Thanks!
Bob
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group,
Cheers Daniel, I'll review, modify and try again!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this
Umm, one of the things I've found difficult is to determine the logic in
the translation of the class names in models.py to other variables.
And I'm sorry to have not included the models.py. This is the part of
ZoekVraag:
class ZoekVraag(models.Model):
vrager =
Really sorry Tom, I've been looking at your text and thinking about it for
most of today, but no penny dropping.
I'm rather unsure which bits go where, I'm trying to understand this by
rebuilding the tutorial.
I can't seem to get my head around this 'reverse()' part: the reverse() as
such is
Sorry, can't seem to find what's wrong here, please help: what am I
missing???
I'm seeing
NoReverseMatch at /zoekopdrachten/4/resultaat/
Reverse for 'resultaat' with arguments '('',)' and keyword arguments '{}' not
found. 1 pattern(s) tried:
[u'zoekopdrachten/(?P[0-9]+)/resultaat/$']
Request
Hi Tom,
OK, thanks.
The file I'd want to read is a parameter file which contains user specific
information. I just need to know the data to guide the actions, no need to
store or keep it.
So I'll just accept the upload, extract the data and then delete the upload.
Oh well ;)
Regards,
Bob
--
; http://twitter.com/nigellegg
> http://uk.linkedin.com/in/nigellegg
>
>
>
> On 10 August 2013 18:04, Bob Aalsma <overhaalsgang_24_...@me.com> wrote:
> Thanks Nigel, this looks very promising ;)
>
> If I interpret your text correctly, this is based on the
this helps
>
> Regards,
> Nigel Legg
> 07914 740972
> http://www.trevanianlegg.co.uk
> http://twitter.com/nigellegg
> http://uk.linkedin.com/in/nigellegg
>
>
>
> On 10 August 2013 15:52, Bob Aalsma <overhaalsg...@me.com >wrote:
>
>> Hi,
>>
Hi,
I'm trying to achieve the following:
- user indicates a file on his/her machine
- the program opens the file, reads the data and acts on that
So far, I can find examples of indicating the file on the user's machine,
but this is always combined with saving to database (which I don't
Well, I have tried your suggestion in all places I could think of and none
of those helped: the createsuperuser kept returning the same error message.
I posted this as a reply some 24 hours ago.
Op donderdag 13 september 2012 16:58:11 UTC+2 schreef Bob Aalsma het
volgende:
>
> I'm a
SOLVED by Tom Evans:
insert
unset LC_CTYPE ; export LANG="nl_NL.UTF-8"
into .bash_profile
Op donderdag 13 september 2012 16:58:11 UTC+2 schreef Bob Aalsma het
volgende:
>
> I'm a newbie following the tutorial. In this, creating a superuser is
> described, using
>
>
e
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
Op vrijdag 14 september 2012 11:17:24 UTC+2 schreef Tom Evans het volgende:
>
> On Fri, Sep 14, 2012 at 8:52 AM, Bob Aalsma
> <overhaalsg...@me.com>
> wrote:
> > The command & e
mmatuurontwikkeling/DripFeed/dripFeedSite',
'DJANGO_SETTINGS_MODULE': 'dripFeedSite.settings', 'COMMAND_MODE':
'unix2003'}
I'm not really sure what to do here: obviously creating a superuser is not
an everyday thing, so maybe an other route will suffice. On the other hand:
this s
Umm, could you be more specific about how/where to put this?
All the combinations and location I could think of will all still give the
same error...
Op donderdag 13 september 2012 16:58:11 UTC+2 schreef Bob Aalsma het
volgende:
>
> I'm a newbie following the tutorial. In this, cr
2012 16:58:11 UTC+2 schreef Bob Aalsma het
volgende:
>
> I'm a newbie following the tutorial. In this, creating a superuser is
> described, using
>
> manage.py createsuperuser --username=joe --email=j...@example.com
>
>
> Using this leads to an error, which I could ma
Django 1.4.1
Python 2.7.3
OS X 10.7.4
Op donderdag 13 september 2012 19:12:30 UTC+2 schreef creecode het volgende:
>
> Which version of django are you using?
>
> On Thursday, September 13, 2012 7:58:11 AM UTC-7, Bob Aalsma wrote:
>
> I'm a newbie following the tutorial.
I'm a newbie following the tutorial. In this, creating a superuser is
described, using
manage.py createsuperuser --username=joe --email=j...@example.com
Using this leads to an error, which I could match to the closed ticket
#16017.
But I couldn't find how to proceed from there. It seems
Ah, yes, thanks!
Regards,
Bob
Op maandag 10 september 2012 21:31:17 UTC+2 schreef Thomas het volgende:
>
> On 9/10/12 11:30 AM, Bob Aalsma wrote:
>
>
> I'm in Chapter 5 of the tutorial, configuring the database.
> I think I've done everything correct to set the DATABASE_EN
I'm new at Django, renewing the start I made some two years ago by
following the tutorial.
And I'm aware there are some problems with my python, which I'm trying to
solve as well.
And I didn't find the answer to my question in djangoproject, this group or
any other group.
I'm in Chapter 5 of
23 matches
Mail list logo