Re: A very basic question with Django

2012-10-10 Thread Peter Murphy
On Wednesday, October 10, 2012 3:24:26 PM UTC+10, Sarbjit singh wrote: > > First of all, I am very sorry for asking this basic question. I am not > sure if this is the right place to put this question but I am very confused. > > Hello, Sarbjit. > I am not having much experience with web devel

Python FAQ: Webdev

2012-05-12 Thread Peter Murphy
All, This may be a link of interest to the list. The site "Fuzzy Notepad" recently wrote an article absolutely, absolutely slating PHP [*]. So the question was asked: "I only know PHP. How do I write a Web application in Python? "This is a deeply complex question. I could easily fill a book on w

Re: Homakov-esque Django Vulnerabilities

2012-03-06 Thread Peter Murphy
On Mar 7, 10:13 am, Donald Stufft wrote: > > For what it's worth in the context of the Homakov exploit, this has been a > well known vulnerability by the rails core for years > that they've basically said "not our problem, configure your app better" the > entire time. I think that situation is

Re: Django for a front end designer

2011-08-05 Thread Peter Murphy
If you are thinking about diving into PHP, I suggest you read this first: http://www.tbray.org/ongoing/When/200x/2006/02/17/PHP It's five years old, but it contains a lot of links to pro- and anti- PHP rants, which you should consider. (Consider also that there's no good Unicode support inside PH

Re: Best & Easiest Python/Django Forum App to install

2011-07-25 Thread Peter Murphy
Wildcard, Have you checked DjangoPackages? More Forum apps than you can poke a stick at, and all compared for features supported: http://djangopackages.com/grids/g/forums/ Best regards, Peter On Jul 26, 8:37 am, wildcard wrote: > I would like some steering in my planning so that I am headed in

Re: Real Example

2011-07-22 Thread Peter Murphy
Eyad, Well, I'll be damned: http://www.djangosites.org/with-source/ It's good etiquette to say "thank you" at this point. ;-) Best regards, Peter On Jul 23, 4:17 am, Phang Mulianto wrote: > you better find books in amazon. .. many ready to learn for you.. > On Jul 22, 2011 10:41 PM, "Shawn Mi

Re: WindowsError 32

2011-07-11 Thread Peter Murphy
Domdom, The first thing to do is Google|Bing|Other Search Engine of your choice "WindowsError 32". If you had done that, the first link: http://msdn.microsoft.com/en-us/library/ms681382%28v=vs.85%29.aspx Would have given you a clue: ERROR_SHARING_VIOLATION 32 (0x20): The process cannot access t

Re: questionnaire

2011-06-27 Thread Peter Murphy
On Jun 27, 8:30 pm, Coulson Thabo Kgathi wrote: > ok > Coulsen, This is a far better response. [Code snipped, but it gave me an idea of where you are coming from. ;-] > urlpatterns = patterns('', >     # Example: >     # (r'^questionSite/', include('questionSite.foo.urls')), >     #(r'^quest

Re: questionnaire

2011-06-27 Thread Peter Murphy
On Jun 27, 5:52 pm, Venkatraman S wrote: > On Mon, Jun 27, 2011 at 12:19 PM, Coulson Thabo Kgathi > wrote: > > > want to create a questionnaire and answers such that one question > > appears on the screen at a time and once the answers is selected then > > the it's saved then the next question is

Re: Looking for recomendation on using popup like admin "+" widget

2011-06-26 Thread Peter Murphy
GKR, If I understand you correctly, you want to override the behavior of a Field.choices property, so that admins can add values on the fly. I don't think that is possible with Django. Maybe the best solution is to create a new table with one column - one that contains only the choices admins wan

Re: Social Networking basics? -Raj

2011-06-23 Thread Peter Murphy
+1 for Fabián's link. Not only is it better-tempered than ESR on the subject, it's a lot _shorter_. I like how it is split into 10 simple sections. Love points 4, 5 and 6! Not everyone on this list has English as a first language. Some newcomers may be confused or daunted by Eric's lengthy prose,

Re: dumping data in utf-8

2010-04-11 Thread Peter Murphy
Andreo: Technically, it is utf-8. I am guessing that you want to see actual Cyrillic characters, rather than escape sequence equivalents. The behavior you are seeing is due to PyYAML, the parser used by Django for YAML fixtures. By default, it produces YAML with Unicode escape sequences - a littl

Re: Unicode and localized characters in view

2010-03-04 Thread Peter Murphy
On Mar 4, 4:45 pm, Joakim Hove wrote: > About every once a year I am forced out on the internet to read about > "encodings and such"; while reading about it all makes sense, but when > actually trying to get things to work I always go through a period of > swearing and frustration - I never really

Question - sound files and Django.

2009-05-12 Thread Peter Murphy
All, I have a question for the list. I am thinking about making a small website for a friend - a singer/songwriter - that will allow him to embed soundfiles for download and/or streaming by others. I'd like to provide a nice "admin" interface for him so that he can upload his mp3s (or similar) w