On Sunday, 4 October 2015 00:24:22 UTC+5:30, Andréas Kühne wrote:
>
> Hi again,
>
> What I would do is create a django management command (see
> https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/)
> and then use cron to call it a regular intervals (5-10 minute intervals for
hi friends i am new to use django in my ubuntu laptop
i want to download django in my ubuntu laptop
please send link how to download
--
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
Hi Django group,
I'm following the tutorial and get stuck on *part 3, Removing hardcoded
URLs in templates*
I read through the topics that discuss this, but can't find the issue in my
case.
my *detail.html* template looks like
{{ question.question_text }}
{% for choice in question.choice_se
https://docs.djangoproject.com/en/1.8/intro/install/
On Oct 4, 2015 9:24 AM, "harish harish" wrote:
> hi friends i am new to use django in my ubuntu laptop
> i want to download django in my ubuntu laptop
> please send link how to download
>
> --
> You received this message because you are subscri
Can you paste the entire error?
Also, read through the error page, it should show you which line is causing
the problem.
-James
On Oct 4, 2015 9:24 AM, "jahan" wrote:
> Hi Django group,
>
> I'm following the tutorial and get stuck on *part 3, Removing hardcoded
> URLs in templates*
>
> I read t
Hi James,
This is the error
NoReverseMatch at /polls/1/
Reverse for 'detail' with arguments '(1,)' and keyword arguments '{}' not
found. 0 pattern(s) tried: []
Request Method: GET Request URL: http://localhost:8000/polls/1/ Django
Version: 1.8.4 Exception Type: NoReverseMatch Exception Value
My guess it's that your polls/urls.py file is not being processed/included
properly since none of your URL patterns were even tried.
What does your mysite/urls.py file look like?
-James
On Oct 4, 2015 12:35 PM, "jahan" wrote:
> Hi James,
>
> This is the error
>
> NoReverseMatch at /polls/1/
>
>
This is my mysite/url,py
from django.contrib import admin
urlpatterns = [
url(r'^admin/', include(admin.site.urls)),
url(r'^polls/', include('polls.urls',namespace = "polls")),
].
On Sunday, October 4, 2015 at 9:43:46 PM UTC+2, James Schneider wrote:
>
> My guess it's that your polls/u
> This is my mysite/url,py
>
> from django.contrib import admin
>
> urlpatterns = [
> url(r'^admin/', include(admin.site.urls)),
> url(r'^polls/', include('polls.urls',namespace = "polls")),
> ].
>
Oh, yep, there's the problem. You added a namespace called 'polls' but you
aren't referencin
Hello,
AFAIK, there's no "download". The best way I know to install Django is
to use virtualenvs. In your ubuntu laptop do:
$ sudo apt-get install virtualenvwrapper
Logoff and login. Now do:
$ mkvirtualenv myapp
That will switch your prompt to something like (myapp) youruser@yourhost:~$
Now d
10 matches
Mail list logo