Re: Django HTML5 & CSS validation - Best Practice?

2014-06-06 Thread Bob Cochran
On 06/05/2014 08:33 PM, 77c...@gmail.com wrote: what is the best practice to validate HTML5 and CSS? I use this: http://validator.w3.org/ & http://jigsaw.w3.org/css-validator/ Is there something better? Bob -- You received this message because you are subscribed to the Google Groups "Django

Tasty pie and foreign keys

2014-06-06 Thread Twitch
Hi, I need help figuring out how to use foreign keys with tasty pie. I'm trying to add a simple json feed to populate a map with points but don't understand how to pull all of the related records in. I have two models, one for houses and one for inspection reports. I want the json feed to

Re: Supervisor alternative on Python 3.3.2?

2014-06-06 Thread Kwest Ambani
I'm not sure why I didn't think of that. Thanks! On Thursday, June 5, 2014 11:25:54 PM UTC-5, somecallitblues wrote: > > You can use init instead. > On 06/06/2014 5:09 am, "Kwest Ambani" > wrote: > >> Anyone know an alternative for Supervisor? I need something to keep >>

Re: OperationalError happening after giving authorization to the class based view

2014-06-06 Thread carlos
Hi, 2 choice 1. erase de database y create again the migration: $rm database && rm -r addressbook/migrations $./manage.py schemamigration addressbook --initial $./manage.py migrate 2. create manually fields owner_id enter terminal or console i see you use sqlite3 i recomended install this

Re: Displaying an uploaded file in a form

2014-06-06 Thread Shawn H
Interestingly, it seems that (at 1.7b4, at least) the widget DOES display the document link if the file is added to the initial data for the form. I missed deleting that portion of the code from last night, and running it this morning django rendered the widget as shown in the image below. In

Re: Displaying an uploaded file in a form

2014-06-06 Thread Shawn H
Ah, OK. The docs don't make that very clear, especially since the normal pattern is that form fields function as display and edit (i.e., you can send initial data to the form). I guess I expected the widget to handle both the upload function and display the link without additional

OneToOneField revese lookup question

2014-06-06 Thread Mehmet Gultas
Using the model below, I am trying to extend User. And with the related view I am trying to reach the method of AnkediDolduran model. authonticate() gives me a User instance, right? How can I reach the method of the model AnketiDolduran using this instance of User? Thanks in advance. class

Re: Django app and a submodule name conflict

2014-06-06 Thread Vahe Evoyan
Thanks Tom, Did something similar: added app/ directory as a module, so now all my imports look like app.A. On Thursday, June 5, 2014 5:12:53 PM UTC+4, Tom Evans wrote: > > On Wed, Jun 4, 2014 at 8:51 AM, Vahe Evoyan > wrote: > > I have modules in the project with the

Re: Django Login/Session Not Sticking

2014-06-06 Thread Juergen Schackmann
none of my js is fiddling with sessions/cookies. but there are numerous third party js packages included (for ads etc). so any of those could do strange things, this would also explain why it broke all of a sudden. could you provide more details on the underlying issue that you had. this would