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
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 D
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 some
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 tutori
mber 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
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,
x27;SSH_AUTH_SOCK':
'/tmp/launch-H5Mr23/Listeners', 'SHELL': '/bin/bash', '_':
'/Library/Frameworks/Python.framework/Versions/2.7/bin/python', 'OLDPWD':
'/Users/bobaalsma', '__CF_USER_TEXT_ENCODING': '
line 435, in _parse_localename
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
> >
> wrote:
> > Th
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
>
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'
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
ion and name are stored in the
> database - in this case, "documents/2013/10/08/datafile.csv".
>
> Hope this helps
>
> Regards,
> Nigel Legg
> 07914 740972
> http://www.trevanianlegg.co.uk
> http://twitter.com/nigellegg
> http://uk.linkedin.com/in/nigellegg
&g
/twitter.com/nigellegg
> http://uk.linkedin.com/in/nigellegg
>
>
>
> On 10 August 2013 18:04, Bob Aalsma wrote:
> Thanks Nigel, this looks very promising ;)
>
> If I interpret your text correctly, this is based on the upload/save example
> I mentioned.
> I'm really interest
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
--
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
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 u
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 = models.ForeignKey(KlantContac
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 grou
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, s
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:
(.
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 erro
flow.com/questions/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 answ
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 "If I
23 matches
Mail list logo