Re: can't find index

2020-07-21 Thread Ralph Barhydt
; typed "http://localhost:8000/index";. You shouldn't view "/index". It's > the name of the view function, not the name of the end point. As you can > see on the error page, you provided views at "polls/" and "admin/". So you > just go to &

Part 1 migrate

2020-07-19 Thread Ralph Barhydt
I have tried this many times and made it to part 4 only to get stymied, so I start over. The last few tries, when ever, in part 1, I do the first "python manage.py migrate" command everything goes haywire. All my directories are underlined in red, Then when I set up the models (db) and run "

can't find index

2020-07-17 Thread Ralph Barhydt
I have done the first part of the tutorial many times and suddenly, doing it one more time, I get this message. I am in the right directory and I have checked the code in urls.py many time as well. What is going on? ``` Page not found (404) Request Method: GET Request URL: http://localhos

migrate error in manage.py

2019-10-11 Thread Ralph Barhydt
When I try to run "python manage.py migrate" I get an error "invalid syntax" that points to ") from exc". How can I fix this? -- 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, sen

Re: Team project via Git repo

2015-11-09 Thread Ralph Castain
PM, m1chael wrote: > > What ended up solving your issue, Ralph? ~Mike > > On Mon, Nov 9, 2015 at 4:34 PM, Ralph Castain wrote: >> My apologies for the long, long delay in finally responding. Your advice >> worked like a charm!! >> >> Thanks a lot to all who re

Re: Team project via Git repo

2015-11-09 Thread Ralph Castain
My apologies for the long, long delay in finally responding. Your advice worked like a charm!! Thanks a lot to all who responded. Ralph > On Oct 13, 2015, at 7:00 PM, Aaron C. de Bruyn wrote: > > Without knowing too much about your environment, I figured I'd tell > you

Re: Team project via Git repo

2015-10-13 Thread Ralph Castain
e >> * git clone g...@github.com:username/carsite.git carsite >> * cd ~/code/carsite >> * mkvirtualenv -r requirements.txt >> >> -A >> >> >> >> On Tue, Oct 13, 2015 at 5:38 PM, wrote: >>> Just to update: we also tried simply c

Re: Team project via Git repo

2015-10-13 Thread Ralph Castain
ath. Still go the same behavior. >> >> We'd really welcome some advice on this one as otherwise we won't be able to >> use Django - we need a way to collaborate on implementation. >> >> Thanks >> Ralph >> >> >> On Tuesday, October 1

Screenshot pdf from AWS hosted django app

2014-07-25 Thread Ralph Lewis
I am hosting a django webapp in AWS and that is running fine, no errors. I now want to be able to take a screenshot of the first page of any pdf that is uploaded to the webapp. I have not had any luck trying to screenshot a pdf with python. I have heard this can be done with PythonMagick, howeve

issue with signals pre_save

2010-02-18 Thread Ralph
Hi there, I am using Django 1.1 and have an issue with signals pre_save. I am having a model in which i have a foreign key element that I want to set in the pre_save method. I am performing a lookup and depending on the outcome of the lookup I want either to create a new object of the foreign key

Re: problem with test client

2009-10-23 Thread Ralph
Thanks! That was the missing piece. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email t

problem with test client

2009-10-23 Thread Ralph
I am using Django 1.1 with Python 2.6.1 and have a problem with testing views that require a login. I was hoping someone could enlighten me were it all goes wrong in the setup function of a unit test i am adding a user and create a test client User.objects.create(username='myuser', password=

Re: "manage.py syncdb" fails when called via SCons

2009-10-05 Thread Ralph Heinkel
ly ignored during the 'syncdb' process, so I could at first figure out what was going on. Thanks for all your comments, it brought me on the right track. Cheers, Ralph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: "manage.py syncdb" fails when called via SCons

2009-10-05 Thread Ralph Heinkel
: python manage.py syncdb Again, it doesn't create my own model tables, just the system tables. Ralph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

"manage.py syncdb" fails when called via SCons

2009-10-05 Thread Ralph Heinkel
is found/created, only system tables are created!! After leaving the subshell (and hence scons) everything works fine again. Anyone any clue?? Thanks, Ralph (opensuse 11.0, django 1.1, python 2.6, scons 1.2.0) --~--~-~--~~~---~--~~ You received this message be

Any success with pyinstaller or cx_freeze?

2009-09-21 Thread Ralph Heinkel
be very appreciated! Thanks, Ralph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send e

Re: Trying to install django

2008-07-15 Thread Ralph
Brillant, it all works now. Thanks Arien, you are a star. Ralph On Jul 15, 6:02 pm, Arien <[EMAIL PROTECTED]> wrote: > On Tue, Jul 15, 2008 at 9:58 AM, Arien <[EMAIL PROTECTED]> wrote: > > On Tue, Jul 15, 2008 at 9:27 AM, Ralph <[EMAIL PROTECTED]> wrote: > >

Trying to install django

2008-07-15 Thread Ralph
Python25\Tools\Scripts;C:\Python25;C: \Python25\Lib\site-packages\django\django\bin I also used TortoiseSVN to export from django repositories. Can anyone see where I might have gone wrong? Thanks in advance Ralph --~--~-~--~~~---~--~~ You received this message