Re: django download

2015-10-04 Thread 술욱
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

Re: NoReverseMatch at /polls/1/

2015-10-04 Thread James Schneider
> 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

Re: NoReverseMatch at /polls/1/

2015-10-04 Thread jahan
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

Re: NoReverseMatch at /polls/1/

2015-10-04 Thread James Schneider
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 > >

Re: NoReverseMatch at /polls/1/

2015-10-04 Thread jahan
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

Re: NoReverseMatch at /polls/1/

2015-10-04 Thread James Schneider
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

Re: django download

2015-10-04 Thread James Schneider
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

django download

2015-10-04 Thread harish harish
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

NoReverseMatch at /polls/1/

2015-10-04 Thread jahan
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

Re: Method call at end of Django session

2015-10-04 Thread Amarjeet Kapoor
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