Yes, that did it. I placed the file into learning_python/learning_python and
everything just worked.
Thank you
--
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
Is this learning_python/urls.py or learning_python/learning_python/urls.py?
On Friday, March 3, 2017 at 10:04:32 AM UTC-5, Vijay Khemlani wrote:
>
> You should import the polls urls as it appears in the tutorial
>
> url(r'^polls/', include('polls.urls')),
>
t 10:04:32 AM UTC-5, Vijay Khemlani wrote:
>
> You should import the polls urls as it appears in the tutorial
>
> url(r'^polls/', include('polls.urls')),
>
> On 3/3/17, Yves S. Garret > wrote:
> > Like this:
> >
> > from dj
5:47 AM UTC-5, Vijay Khemlani wrote:
>
> How does your learning_python.urls look like?
>
> On 3/3/17, Yves S. Garret > wrote:
> > Yes.
> >
> > On Thursday, March 2, 2017 at 11:09:58 AM UTC-5, Vijay Khemlani wrote:
> >>
> >> Did you do this step?
olls.urls')),
> url(r'^admin/', admin.site.urls),]
>
>
> On Thu, Mar 2, 2017 at 11:40 AM, Yves S. Garret > wrote:
>
>> Hi all,
>>
>> I'm going through this tutorial:
>> https://docs.djangoproject.com/en/1.10/intro/tutorial01/
>
Hi all,
I'm going through this tutorial:
https://docs.djangoproject.com/en/1.10/intro/tutorial01/
And the problem that I'm having is when I start the 'polls' application
from inside my project and then go to localhost:8000/polls, I get a 404.
Page not found (404)
Request Method: GET
Request URL
On Friday, July 12, 2013 1:48:13 PM UTC-4, Yves S. Garret wrote:
>
>
> On Friday, July 12, 2013 5:18:58 AM UTC-4, Tom Evans wrote:
>>
>> On Fri, Jul 12, 2013 at 4:01 AM, Yves S. Garret
>> wrote:
>> > I was able to import django from inside of python 2.6.6 (wh
On Friday, July 12, 2013 5:18:58 AM UTC-4, Tom Evans wrote:
>
> On Fri, Jul 12, 2013 at 4:01 AM, Yves S. Garret
> > wrote:
> > I was able to import django from inside of python 2.6.6 (which is what
> I'm
> > going with
> > at the moment). However
Note, I'm trying to avoid using a database. I'm, ultimately, planning on
getting
Django Dynamic Scraper to work and figured that this is a good first step.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
I was able to import django from inside of python 2.6.6 (which is what I'm
going with
at the moment). However, when I try to display something in a browser,
this is the
problem that I'm getting:
$ python /path/to/file/manage.py runserver
Traceback (most recent call last):
File
"/home/azureuser/
On Monday, July 8, 2013 6:11:36 PM UTC-4, Drew Ferguson wrote:
>
> On Mon, 8 Jul 2013 14:46:25 -0700 (PDT)
> "Yves S. Garret" > wrote:
>
> > On Monday, July 8, 2013 5:18:21 PM UTC-4, Drew Ferguson wrote:
> > >
> > > Yo
>
was a
> manual build
>
> Also you should consider using virtualenv or similar
>
>
> https://docs.djangoproject.com/en/1.5/topics/install/#install-the-django-code
>
> On Mon, 8 Jul 2013 15:58:10 -0400
> "Yves S. Garret" > wrote:
>
> > Ok, just instal
On Monday, July 8, 2013 4:36:17 PM UTC-4, larry@gmail.com wrote:
>
> On Mon, Jul 8, 2013 at 2:34 PM, Yves S. Garret
> > wrote:
> > On Monday, July 8, 2013 4:31:47 PM UTC-4, Yves S. Garret wrote:
> >>
> >> On Monday, July 8, 2013 4:03:12 PM UTC-4, larry..
On Monday, July 8, 2013 4:31:47 PM UTC-4, Yves S. Garret wrote:
>
> On Monday, July 8, 2013 4:03:12 PM UTC-4, larry@gmail.com wrote:
>>
>> On Mon, Jul 8, 2013 at 2:00 PM, Yves S. Garret
>> wrote:
>> > On Monday, July 8, 2013 2:28:58 PM UTC-4, larry@gmai
On Monday, July 8, 2013 4:03:12 PM UTC-4, larry@gmail.com wrote:
>
> On Mon, Jul 8, 2013 at 2:00 PM, Yves S. Garret
> > wrote:
> > On Monday, July 8, 2013 2:28:58 PM UTC-4, larry@gmail.com wrote:
> >>
> >> On Mon, Jul 8, 2013 at 12:10 PM, Yves S. Ga
On Monday, July 8, 2013 2:28:58 PM UTC-4, larry@gmail.com wrote:
>
> On Mon, Jul 8, 2013 at 12:10 PM, Yves S. Garret
> > wrote:
> > I've gone through the entire django install steps and when I fired up my
> > Python shell
> > (python 2.7.5, to be exact)
s" or "license" for more information.
>>> import django
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named django
On Mon, Jul 8, 2013 at 2:10 PM, Yves S. Garret
wrote:
> I've gone through the entire django install steps an
I've gone through the entire django install steps and when I fired up my
Python shell
(python 2.7.5, to be exact) and did import django, this is what I got:
>>> import django
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named django
sudo python setup.py install
Is this the light-weight server that is used to serve up Django pages when
you are developing?
This is not on my machine, but in my organization we have a machine where
this process recently crashed.
--
You received this message because you are subscribed to the Google Groups
"Django users" gro
You got your reasons. That's alright.
Have you looked into Greenland? How about doing a self-employed gig where
you do coding for other based on contracts and orders?
On Fri, Sep 30, 2011 at 9:27 AM, Kevin Renskers wrote:
> I don't think many people will ever understand why I'd want to move t
Whatever, their loss :-)
On Fri, Sep 30, 2011 at 8:47 AM, Kevin Renskers wrote:
> CCP actually wanted me for their UI Programmer position. Did the first
> round of interviews, made a usability report for them, all was well. And
> then they decided that they don't really need a UI Programmer afte
http://www.ccpgames.com/en/jobs
On Fri, Sep 30, 2011 at 7:35 AM, Kevin Renskers wrote:
> Hi all,
>
> I am a Senior Python/Django programmer from The Netherlands, and I am on a
> quest to move to the Arctic Circle. Right now my focus is on Reykjavik in
> Iceland and Tromsø in Norway. It's quite h
Is Python in your path?
On Wed, Sep 14, 2011 at 10:01 PM, PremAnand Lakshmanan
wrote:
> I have a problem executing this command,
>
> C:\Python27\Lib\site-packages\django\bin\django-admin.py startproject
> mysite2
>
> SyntaxError: invalid syntax
>
> I get the above error..
>
> --
> Prem
>
> --
>
I'm curious, maybe someone knows this who has actually seen the code behind
the scenes, but is this actually true? When Django says "Creating tables
... Creating table polls_poll", does that mean it's already
connected to the database and working on it or is it a message that's
produced
I'm looking at this portion:
+++
INSTALLED_APPS = (
#'django.contrib.auth',
#'django.contrib.contenttypes',
#'django.contrib.sessions',
#'django.contrib.sites',
#'django.contrib.messages',
#'django.contrib.staticfiles',
'polls'
# Unco
Show me your settings.py file, just post all of it.
On Fri, Sep 2, 2011 at 11:38 AM, John wrote:
> I am a total noob so forgive my ignorance, but I have been going
> through the Django tutorial -
> https://docs.djangoproject.com/en/1.3/intro/tutorial01/
>
> I am at the point in the tutorial wher
rib.messages',
> 'django.contrib.staticfiles',
>'polls',
> # Uncomment the next line to enable the admin:
> 'django.contrib.admin'
># Uncomment the next line to enable admin documentation:
># 'dj
g
# performed by this configuration is to send an email to
# the site admins on every HTTP 500 error.
# See http://docs.djangoproject.com/en/dev/topics/logging for
# more details on how to customize your logging configuration.
LOGGING = {
'version': 1,
'di
Yes, you're correct. Thanks for pointing that out.
I'll be honest, I get the impression that I'm at the deep end of the pool
and not exactly dog-paddling very well :) . I don't doubt that Django does
A LOT of nice things for you, but this is a major step from my PHP coding
days when all I had wa
ate-loader postmortem
Django tried loading these templates, in this order:
- Using loader django.template.loaders.filesystem.Loader:
- c:\users\ashvets\my_templates\admin\base_site.html\polls\detail.html
(File
does not exist)
- Using loader django.template.loaders.app_directo
page.
Is this the issue of having something match before another url?
I'll try to get my stuff zipped up and host it somewhere if that's not
enough information.
On Thu, Sep 1, 2011 at 2:24 AM, kenneth gonsalves wrote:
> On Wed, 2011-08-31 at 12:05 -0700, Yves S. Garret wrote:
>
Specifically, the issue was in urls.py.
On Sep 1, 2:24 am, kenneth gonsalves wrote:
> On Wed, 2011-08-31 at 12:05 -0700, Yves S. Garret wrote:
> > Caught ViewDoesNotExist while rendering: Could not import polls.view.
> > Error was: No module named view
>
> should it not be
When I said you're right, I meant your insight into my spelling
error. Those are the most annoying errors since they are so difficult
to figure out after staring at the screen for so long.
On Aug 31, 3:35 pm, Reinout van Rees wrote:
> On 31-08-11 21:05, Yves S. Garret wrote:
>
> &
You're right! Thank you.
I have another issue with this page and I'll write later (busy with
something else.)
On Aug 31, 3:35 pm, Reinout van Rees wrote:
> On 31-08-11 21:05, Yves S. Garret wrote:
>
> > In template c:\python27\lib\site-packages\django\contrib\admi
If you want to unsubscribe, just send an e-mail here:
django-users+unsubscr...@googlegroups.com
On Wed, Aug 31, 2011 at 4:16 PM, Elie Obeid wrote:
> so great I subscribed to OFFICIAL group of django for help and what I
> get SPAMS, i'm so delighted!!
>
> --
> You received this message becaus
#changelist table thead th:first-child {width: inherit}
18
19{% endif %}
20 {% endblock %}
21
+++
+++
Doesn't this part get populated? What am I missing?
On Aug 31, 11:23 am, "Yves S.
So I'm following this Django tutorial to become more familiar with how it
works:
https://docs.djangoproject.com/en/dev/intro/tutorial03/#write-views-that-actually-do-something
I got to this part:
Reload the page. Now you'll see an error:
TemplateDoesNotExist at /polls/
polls/index.html
Ah. The
oaded as mentioned and when I try this command the file setup.py
> gets opened.
>
> C:\Django\Django-1.3>setup.py install
>
> On Tue, Aug 30, 2011 at 8:49 PM, Yves S. Garret <
> yoursurrogate...@gmail.com> wrote:
>
>> No. Here is a more lengthy explanati
tar xzvf Django-1.3.tar.gz
> cd Django-1.3
> sudo python setup.py install
>
> What does tar xzvf mean?
>
> On Tue, Aug 30, 2011 at 8:41 PM, Yves S. Garret <
> yoursurrogate...@gmail.com> wrote:
>
>> Where do you have Python installed?
>>
>> I just follow
I dont see any file under site packages. I think my Django is not
>> installed within Python.
>>
>> Something is wrong..
>>
>> On Tue, Aug 30, 2011 at 8:28 PM, Yves S. Garret <
>> yoursurrogate...@gmail.com> wrote:
>>
>>> Do me a favor and
> SyntaxError: invalid syntax
>
>
>
>
> On Tue, Aug 30, 2011 at 11:28 AM, Yves S. Garret <
> yoursurrogate...@gmail.com> wrote:
>
>> What OS are you running? Is it in your path?
>>
>> I'm having a similar issue and managed to get around it (al
Maybe you have Python installed somewhere that's not described in the
shebang line?
Don't know, don't know your environment. Glad that your stuff works now :)
.
On Tue, Aug 30, 2011 at 4:22 PM, Phil wrote:
> I opened my "manage.py" file to insert the line, but it was already there
> on the fir
I don't know about Windows (if anyone does, please say so), but in a *nix OS
putting this (don't remember its official name) at the top of your file can
help:
#!/usr/bin/env python
On Tue, Aug 30, 2011 at 4:11 PM, Phil wrote:
> The permissions were OK, but putting python in front of it seems to
Put python in front of it or check permissions to make it executable?
On Tue, Aug 30, 2011 at 4:01 PM, Phil wrote:
> Hi,
>
> I'm running the latest django 1.4 alpha from the repository.
>
> I have a django project hosted on bitbucket, I run the bitbucket "clone"
> command and pull down my code o
What OS are you running? Is it in your path?
I'm having a similar issue and managed to get around it (although the
solution is not as elegant as I'd like) using this:
python C:\Python27\Lib\site-packages\django\bin\django-admin.py startproject
mysite2
On Tue, Aug 30, 2011 at 10:39 AM, PremAnand
Yeah, I just resolved that issue. And yes, I messed up my DB setup.
It works now. I didn't set it up properly for sqllite.
On Aug 26, 3:06 pm, Jirka Vejrazka wrote:
> Hi there,
>
> your database is not set up properly - are you sure you went through
> the "database setup" section of the tutor
Hi all,
This is my issue:
After I installed Django and got it somewhat working, I started down
this tutorial: https://docs.djangoproject.com/en/dev/intro/tutorial01/
All was going well until I hit the part called "Playing with the API".
I'm doing this in Windows 7 Enterprise.
C:\Users\foobar\
47 matches
Mail list logo