Re: Page not found (404).Please check i am unable to run server.It is showing error

2018-05-26 Thread Samuel Brunel
Hi, mysite.urls: from django.contrib import admin from django.urls import path from django.urls import include urlpatterns = [ path('polls/', include('polls.urls')), # To route to ‘/' path('', admin.site.urls), ] http://127.0.0.1:8000 : Route to admin

Re: Issues with french accents

2018-02-22 Thread Samuel Brunel
t;. Try it yourself by opening a > Python interpreter and typing this: > > print("\u00e9") > > In other words, Django isn't changing the contents of your string here. It's > just making sure to serialize it in a way that's as safe as possible for > transmi

Issues with french accents

2018-02-22 Thread Samuel Brunel
Hi, Context: Django 1.11.x Python 3.4.5 PostgreSQL 9.6 Database informations : data=> \l List of databases Name| Owner | Encoding | Collate | Ctype| Access privileges

Re: Page Not Found

2017-07-27 Thread Samuel Brunel
Hi, Use http://localhost:8000/polls/ to view your page. First urls.py is project file : mysite/mysite/urls.py > urlpatterns = [ > url(r'^polls/', include('polls.urls')), > url(r'^admin/', admin.site.urls), > ] Django remove "http://localhost:8000/

Re: add a secretballot middleware to MIDDLEWARE_CLASSES

2017-04-08 Thread Samuel Brunel
Sorry. I think i'ts in "tokens and SecretBallotMiddleware" Have à look to http://www.pygarden.com/pkg/django-likes, http://stackoverflow.com/questions/1954/django-likes-setup-and-error, http://stackoverflow.com/questions/16179080/django-django-secretballot-middleware Le ven. 7 avr. 2017

Re: add a secretballot middleware to MIDDLEWARE_CLASSES

2017-04-07 Thread Samuel Brunel
Hi, MIDDLEWARE is in settings.py of your project. Sam Le ven. 7 avr. 2017 23:29, shahab emami a écrit : > tanks > but my problem is: > I don't know where middleware section is. > i looked for middleware section in the app but i couldn't find anything. > that's why i

Re: GeoDjango

2017-03-18 Thread Samuel Brunel
Thanks a lot, WMS is Web Map Server like MapServer (http://www.mapserver.org). I think django-wms provides the service I need. > On 18 Mar 2017, at 14:35, Tim Graham wrote: > > What's WMS? Is this package relevant https://django-wms.readthedocs.io/ ? > (found with a

GeoDjango

2017-03-18 Thread Samuel Brunel
Hello, I’m new on GeoDjango, I need to known If I can use GeoDjango as WMS ? Best regards, Samuel -- 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