Re: Error with Tutorial - Writing your first Django app, part 1

2017-04-12 Thread Vijay Khemlani
In the first case he mispelled "urlpatters", it should be "urlpatterns" (notice the n) On Wed, Apr 12, 2017 at 3:47 PM, Lynn Capps wrote: > Shah, > > Did you get this figured out? I am having the same issue as you did. > > > > On Friday, December 9, 2016 at 1:50:22 PM UTC-6, shah wrote: >> >> Hi

Re: Manage.py runserver is showing somthing else

2017-04-12 Thread Vijay Khemlani
Please copy and paste the whole stack trace (the messages on the command prompt) On Wed, Apr 12, 2017 at 3:01 PM, Divya Rajpurohit wrote: > I started learning django a few days ago & i am trying to run a example > project for a demo but when i put this command "manage.py runserver" it > show so

Re: Error with Tutorial - Writing your first Django app, part 1

2017-04-12 Thread Lynn Capps
Shah, Did you get this figured out? I am having the same issue as you did. On Friday, December 9, 2016 at 1:50:22 PM UTC-6, shah wrote: > > Hi, I am facing the same issue with the tutorial. > > I have got my program correct. But after running the sever. It shows an > error on chrome. > > Page

Re: Revoke celery task

2017-04-12 Thread Mauro Sánchez
Hello, I've found out my problem. It is that I am using Heroku, so when the worker is restarted, the revoked tasks list is lost. How can I persist this list in Heroku? Since I cannot write a file in the filesystem. Thanks a lot. El miércoles, 12 de abril de 2017, 1:09:08 (UTC-3), Mauro Sánchez e

Django - Updating multiple models from a form - Data does not saved

2017-04-12 Thread Bernardo Garcia
I have a custom User model to manage some profiles user: is_student, is_professor and is_executive In this model, in addition, I have the get_student_profile(), get_professor_profile() andget_executive_profile() methods to get the user profiles data of each user from my different views. cla

Manage.py runserver is showing somthing else

2017-04-12 Thread Divya Rajpurohit
I started learning django a few days ago & i am trying to run a example project for a demo but when i put this command "manage.py runserver" it show so many lines on cmd promt & at end line showing 'invalid character' it's not showing those result which showed in documentation of django & for th

Re: Django relationships and the admin page

2017-04-12 Thread Liam H
Yeah I was using the inlines. I actually came up with something of a workaround today. I put Location inlines in the Site page and then registered Locations on the admin page. Locations then have Image inlines. It's not as user friendly, but it will do as long as it works. I'll look into the ne

Re: Unicode decoding error

2017-04-12 Thread Christophe Pettus
> On Apr 12, 2017, at 02:26, Antonis Christofides > wrote: > >> Does this mean I should globally replace "str(" with "|six.text_type(" in a >> 2/3 codebase?| > I don't think so; afaiu this must be done for the return value of __str__(), > not > everywhere. The rules as I understand them are:

Re: Does anyone in this group hire out to update code .

2017-04-12 Thread Bob Gailer
I'd be glad to take a look at the Django code. That way I could tell if I have the expertise to help you , and yes, I am available for hire. If you would give me access in some form to the Django modules and your requirements I will let you know what I can do, and my cost estimate. On Apr 11, 201

Re: getting error "Project matching query does not exist."

2017-04-12 Thread ludovic coues
I would search the function doing the redirection and look at what information it use to make that redirection. Either it is redirecting to a wrong url or something have gone wrong when installing the brickly application. 2017-04-12 12:46 GMT+02:00 : > Hi, > > I have solved validationError on dj

Re: Yet Another Can't get static files to show up in shared linux website on Godaddy

2017-04-12 Thread René Fleschenberg
Hi, Do *not* put your project into the webserver's document root. Doing so will likely expose secret data (your source code including the database password and SECRET_KEY). Your STATIC_ROOT must be a location that your webserver serves under STATIC_URL. If you cannot configure your webserver to d

Re: getting error "Project matching query does not exist."

2017-04-12 Thread nitin
I have solved validationError on django and now project redirecting on url " http://127.0.0.1:8000/brickly/home"; and its not found. so please let me know how to create it on django. here are page not found error coming. please let me know of what is the problem.

Re: getting error "Project matching query does not exist."

2017-04-12 Thread nitin
Hi, I have solved validationError on django and now project redirecting on url "http://127.0.0.1:8000/brickly/home"; and its not found. so please let me know how to create it on django. here are page not found error coming. please let me know of what is the problem. Page not found (404) Req

Nouveau site web

2017-04-12 Thread sfornengo
Hello tout le monde, Ceci est un mail à tout mon carnet d'adresse, sans tri particulier, il se peut donc que vous ne soyez pas directement concerné, mais c'était plus simple pour moi ! Je suis fier de vous présenter mon dernier site web [Mask.guru](https://mask.guru/) ! C'est une évolution de m

Re: Unicode decoding error

2017-04-12 Thread Antonis Christofides
> Does this mean I should globally replace "str(" with "|six.text_type(" in a > 2/3 codebase?| I don't think so; afaiu this must be done for the return value of __str__(), not everywhere. Antonis Christofides http://djangodeployment.com On 2017-04-12 02:33, Mike Dewhirst wrote: > On 12/04/2017 2:

Re: getting error "Project matching query does not exist."

2017-04-12 Thread ludovic coues
At this point, I usually start putting a lot of print statement, both in my code and in library. That's one of the advantages of working in a virtualenv. My gut feeling is that on of the fields of Project is causing the validation error. If I could read the code of the Project model, maybe I could

Permissions in views

2017-04-12 Thread Meiyer
Just yesterday I bumped into an issue that left me puzzled for a while, and I want to verify if this is indeed the case before opening a bug ticket. The documentation states the we can use either the {{ perms.my_app.updat

Re: what do i have to do first

2017-04-12 Thread Derek
If you're new to Python as well, you may need to look here first: https://www.python.org/about/gettingstarted/ (Django assumes some familiarity with the basics of Python) On Monday, 10 April 2017 16:17:19 UTC+2, Cyprus Carolyne wrote: > > I am new to this platform, anyone help me find out how t