To 田村佑太,
*Is it fine if you show use your urls.py in the polls app as well? I
believe the problem is caused from there. *
*Regards,*
*Kai Wey*
On Wed, Jul 24, 2019 at 7:03 PM 田村佑太 wrote:
> Using the URLconf defined in mysite.urls, Django tried these URL
> patterns, in this order:
>
>1.
Medium.com
On Wed, 24 Jul 2019 at 4:33 PM, 田村佑太 wrote:
> Using the URLconf defined in mysite.urls, Django tried these URL
> patterns, in this order:
>
>1. admin/
>
> The current path, polls/, didn't match any of these.
>
>
> what is the problem of this?
>
>
> at ./mysite/mysite/urls.py
>
>
Using the URLconf defined in mysite.urls, Django tried these URL patterns,
in this order:
1. admin/
The current path, polls/, didn't match any of these.
what is the problem of this?
at ./mysite/mysite/urls.py
I wrote this code.
from django.contrib import admin
from django.urls import
The "create" method (as in Question.objects.create) saves the object to the
database
On Thu, Oct 15, 2015 at 6:08 AM, Shun Liang
wrote:
> Dear All,
>
> In the 5th part of the Django Tutorial (
>
Dear All,
In the 5th part of the Django Tutorial (
https://docs.djangoproject.com/en/1.8/intro/tutorial05/#testing-our-new-view
), there is a helper function "create_question" in polls/test,py, which
creates a question instance and returns it. However the created question
instance does not
Try:
python manage.py syncdb
If you have set up the rest of your project with the admin stuff, then this
should create the tables for you.
Then run
python manage.py runserver again.
Mark :)
On Tue, Apr 30, 2013 at 1:45 PM, Christopher Spears
wrote:
> Hi!
>
> I am a
Hi!
I am a Django newbie, so please bear with me. I am working on part 2 of
the Django tutorial.
I started my server with the following:
python manage.py runserver
Then I logged into my admin site.
Earlier in the tutorial, I had created a model called Polls. I selected
Polls from the
7 matches
Mail list logo