Security: Django vs popular PHP apps?

2009-09-07 Thread walterbyrd
I am hoping to get some reasonably knowledgeable, and unbiased, responses. I was thinking about putting together a wordpress blog. Then I came across a recent slashdot article about recent wordpress security issues. I did a little research, and found that wordpress has quite a history of

Is Django best for modular extensible projects?

2009-01-08 Thread walterbyrd
For example, let's suppose you wanted to create a application that would be fairly easy to extend by creating new modules. I don't really know django, but I get the idea that django would be a decent solution for a project like that. --~--~-~--~~~---~--~~ You

Re: ANN: Softwarefabrica Django CRUD (PRE-RELEASE)

2008-12-19 Thread walterbyrd
Seems promising. Can I make a request/suggestion? Maybe you should consider putting together a screencast, or a series of slides (I happen to prefer slides) as a demo? Sometimes, a few graphics can be worth a thousand words. --~--~-~--~~~---~--~~ You received this

Re: Why run two web-servers on the same host?

2008-12-04 Thread walterbyrd
On Dec 2, 10:25 am, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > Because django runs as a long-running process, and does not rebuild > the whole world on each and any request (which is what PHP do). Seems to me that would make Python run faster. I suppose that must take more system

Why run two web-servers on the same host?

2008-12-02 Thread walterbyrd
All the python frameworks seem to do this: one web-server for development, another for production. There may be a good reason for this, but I don't see it. If you are doing internet development, then you certainly have a network. So why not develop on one box, and then move the files to another?

Re: Can python/django match the features of php/zend framework?

2008-10-27 Thread walterbyrd
On Oct 26, 8:45 pm, Nick Lo <[EMAIL PROTECTED]> wrote: > > 2) There is a fairly good library of php routines to connect on online > > php app with quickbooks. I am not sure if python has anything like > > that. > > That isn't really a ZF thing of course. No, but I would I think that a php

Re: Can python/django match the features of php/zend framework?

2008-10-27 Thread walterbyrd
On Oct 26, 4:37 pm, "Low Kian Seong" <[EMAIL PROTECTED]> wrote: > guess it does: Python will work with QB, as long as both are on the same windows box. But, I was asking about using django on a remote website to sync with QB - that might be different.

Can python/django match the features of php/zend framework?

2008-10-26 Thread walterbyrd
I was going to go with zend framework, then I read about php using "\" character as it's namespace separator. A few things I like about the zend framework: 1) APIs to integrate with Google Apps. Although, I think I could do the same with python using gdata-python-client. 2) There is a fairly

Does django integrate with google apps?

2008-10-10 Thread walterbyrd
I know that google offers django on google apps engine. I am wondering if that would make it any easier to integrate with google apps like gmail, calendar, and sites. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Submit Django book to slashdot book review?

2007-12-27 Thread walterbyrd
A lot of people read slashdot, and slashdot has never done any sort of story on Django. There have been two stories about TurboGears, but never anything about Django. The Django book has not been out that long. Maybe somebody who knows something about the book should submit the book for review.

Re: Installing Django on VPS with 128mb ram

2007-12-05 Thread walterbyrd
On Dec 4, 8:53 pm, "Chris Moffitt" <[EMAIL PROTECTED]> wrote: > On my blog post here > -http://www.satchmoproject.com/blog/2007/sep/25/optimizing-django-vps-... > > I wrote some of my tips for configuring MySQL to use less memory. I also > have some general thoughts on vps setup for django

Re: Installing Django on VPS with 128mb ram

2007-12-04 Thread walterbyrd
For me, it's all about the learning experience. Here is one thing I've learned: MySQL *devourers* memory. Just running my basic VPS: debian, ssh, lighttpd, uses about 12mb or ram. If I run - or rather try to run - mysql, memory usuage shoots up to 130mb and the system becomes nearly unusable. I

Re: Installing Django on VPS with 128mb ram

2007-12-04 Thread walterbyrd
On Dec 4, 7:12 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 04-Dec-07, at 7:05 PM, walterbyrd wrote: > > I may also install drupal on the same site, so I'll probably go with > > mysql. I don't know if that matters. > > yikes > Seriously? Am I trying

Installing Django on VPS with 128mb ram

2007-12-04 Thread walterbyrd
I am new to VPS hosting. I just signed up with an account that gives me 128mb/ram. My immediate needs are very modest. But 128mb seems kinda wimpy. I am wondering if I should use apache or lighttpd, or something else. I am little more familiar with apache, but if there is a big difference in

Re: Another question about the tutorial

2007-12-01 Thread walterbyrd
Thanks Karen, and thanks Rick. You guys are a big help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from

Re: Newbie question.

2007-12-01 Thread walterbyrd
On Dec 1, 10:47 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On 12/1/07, walterbyrd <[EMAIL PROTECTED]> wrote: > > Are you sure you are using 0.96? How do I find out? At djangodomain, django comes pre-installed. I thought the default install

Another question about the tutorial

2007-12-01 Thread walterbyrd
This is driving me nuts. Here is what I'm getting: >>> from djangoproject.polls.models import Poll, Choice >>> Poll.objects.all() [, ] I have no idea why I'm getting twice. It's a big problem. This is the models.py file, that I modified according to the instructions in the tutorial: --

Newbie question.

2007-12-01 Thread walterbyrd
I am trying to work through the tutorial. Everything seems to work. But, when I run: $ python manage.py validate polls I get: Error: Command doesn't accept any arguments The error does not make any sense to me. I am using djangodomain.com for my django environment. I am using django 0.96, and

Could I use django as a wiki replacement?

2007-11-27 Thread walterbyrd
I like wikis for quickly editing and organizing documents online. I hate everything else about wikis - especially markup languages that are not compatible with anything else. Would it be difficult to develop a django app that could edit an online document, or a part of that document, and easily

Can I run Django on my Sun-Ray?

2007-11-24 Thread walterbyrd
I'm running Solaris 10. I have Python. I am not looking to build a production site. Just trying to learn some django during dead time. I'm not sure what to do about a database. I don't think I can install mysql or postgresql - maybe sqlite. --~--~-~--~~~---~--~~

Re: Should I give up on dreamhost?

2007-07-24 Thread walterbyrd
On Jul 23, 12:40 pm, Horst Gutmann <[EMAIL PROTECTED]> wrote: > What exactly have you done so far? It took me quite some time but now > Django is (so far) working veeery realiably on my Dreamhost account. > I have asked for, and recieved, help before, but I was still unable to solve the problem.

Re: Should I give up on dreamhost?

2007-07-23 Thread walterbyrd
On Jul 23, 12:38 pm, Tyson Tate <[EMAIL PROTECTED]> wrote: > On Jul 23, 2007, at 11:23 AM, walterbyrd wrote: > Blaming Django for FastCGI problems on discount-rate hosting services I don't "blame" Linux for not running all the newest hardware, but if need a certain

Should I give up on dreamhost?

2007-07-23 Thread walterbyrd
Also, wondering if I should give up on django, at least for now. I just can not get fastcgi working. I have read the django wiki, I have tried to follow jeffcroft's tutorial. I just can not get it to work. From what I'm seeing on the message boards, it's a common problem. I've never used

Which database, and why?

2007-07-20 Thread walterbyrd
I know that PostgreSQL is recommended, but why? Are the django developers assuming a high-traffic, database intensive site. Are the django developers assuming that you will not be using shared hosting? I seems to me, that if you are using shared hosting, and if your database needs are modest,

What does it mean to restart Apache?

2007-07-20 Thread walterbyrd
As I understand it, if you run django under mod_python, then you have to restart Apache every time you make a change to the django code. Does restarting apache mean that apache is completely shut down? So if I'm on shared hosting, then anybody else using the apache server, will have to wait

Re: Django on a shared host. The docs are scaring me ;)

2007-07-19 Thread walterbyrd
On Jul 17, 2:22 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > You could do what I did decide Dreamhost is unacceptable for > hosting anything but a very, very small Django site, and go over to > Webfaction. I don't use Webfaction myself, but I have heard nothing but good things about

Re: How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-19 Thread walterbyrd
On Jul 19, 4:08 pm, FrankW <[EMAIL PROTECTED]> wrote: > in your shell, if you cd into /home/walterbyrd/django.niche-software/ > django > and type ./dispatch.fcgi, what do you get? > ./dispatch.fcgi WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServe

Re: How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-19 Thread walterbyrd
On Jul 19, 12:24 pm, FrankW <[EMAIL PROTECTED]> wrote: > A couple of things to check - what are the permissions on > dispatch.fcgi? > It needs to be executable, e.g. -rwxr-xr-x Permissions are correct. > Also, make sure it does not have DOS mode CR-LF No DOS mode CR-LF. > And, do you have

Re: How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-19 Thread walterbyrd
As I said, I tried to follow the tutorial: In this directory /home/walterbyrd/django.niche-software.com I have these two files: 1. dispatch.fcgi sys.path += ['/home/walterbyrd/django.niche-software/django/ django_src'] sys.path += ['/home/walterbyrd/django.niche-software/django

Re: Problem installing django on dreadhost

2007-07-18 Thread walterbyrd
I think I may have fixed it. I did the following: 1) I had moved sqlite, but didn't change the link, so I fixed that. 2) In the settings.py, I entered a path to the database, but not the actual database name, so I fixed that as well. 3) Then I re-ran the django-admin.py syncdb script $

How do I know if fastcgi is installed correctly? (using dreamhost)

2007-07-18 Thread walterbyrd
I am trying to follow jeff croft's tutorial for installing django on dreamhost. http://www2.jeffcroft.com/blog/2006/may/11/django-dreamhost/ I am trying to "Install and configure FastCGI" I followed the tutorial, I don't see where I did anything wrong. One part that I don't quite understand:

Re: Problem installing django on dreadhost

2007-07-17 Thread walterbyrd
gt; syncdb" Thanks. Although, I got a lot of errors with manage.py also. The last line makes me wonder if it isn't looking for sqlite2, instead of sqlite3. Traceback (most recent call last): File "./manage.py", line 11, in ? execute_manager(settings) File "/home/walter

Problem installing django on dreadhost

2007-07-17 Thread walterbyrd
in the settings file. This process will also prompt you to create a "superuser" for your project: django-admin.py syncdb Traceback (most recent call last): File "/home/walterbyrd/django.niche-software.com/django/django_src/ django/bin/django-ad

Re: newbie having difficulty with sqlite

2007-07-04 Thread walterbyrd
On Jul 4, 12:31 pm, "nick feng" <[EMAIL PROTECTED]> wrote: > I think you should create the books file by yourself, the sqlite3 may not > have the ability to create the file in your file system. Thank you. That did it. --~--~-~--~~~---~--~~ You received this

newbie having difficulty with sqlite

2007-07-04 Thread walterbyrd
My settings.py file looks like this: DATABASE_ENGINE = 'sqlite3'# 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. DATABASE_NAME = '/usr/bin/scripts/mysite/books' # Or path to database file if using sqlite3. DATABASE_USER = '' # Not used with sqlite3.

Re: newbie: trying to understand django templates

2007-07-02 Thread walterbyrd
On Jul 2, 5:43 pm, Vincent Nijs <[EMAIL PROTECTED]> wrote: > They worked for me. So you maybe missing something :) > > Is urls.py still trying to import the hours_ahead function? If that doesn't > help try posting your code. That was exactly it. I removed the hours_ahead parameter from the

Re: newbie: trying to understand django templates

2007-07-02 Thread walterbyrd
On Jul 2, 5:13 pm, Carl Karsten <[EMAIL PROTECTED]> wrote: > "not using X" does not say what you are doing - my best guess is "what will be > available if I just run python?" if so, the answer is "nothing other than you > can import django." As I mentioned, this is what I was trying to do:

Re: newbie: trying to understand django templates

2007-07-02 Thread walterbyrd
I continue to be frustrated with examples given in this book, which simply do not work. I am trying to follow the code examples in the book. In chapter 4, the book gives this code example: from django.shortcuts import render_to_response import datetime def current_datetime(request): now =

Re: newbie: trying to understand django templates

2007-07-02 Thread walterbyrd
On Jul 2, 2:30 pm, Carl Karsten <[EMAIL PROTECTED]> wrote: > walterbyrdwrote: > > On Jul 2, 1:24 pm, Vincent Nijs <[EMAIL PROTECTED]> > > wrote: > > >> all the 'settings' are taken care of for you so you don't have to do any > >> exports or anything like that. The import statement for Context

newbie: trying to understand django templates

2007-07-02 Thread walterbyrd
I am going through the django book. I am on Chapter 4: The Django template system. In the example given, the first line reads: >>> from django.template import Template, Context But, that will produce a screen full of errors. In the comments, it is suggested to change to the directory in which

Re: newbie: trying to understand django templates

2007-07-02 Thread walterbyrd
On Jul 2, 1:24 pm, Vincent Nijs <[EMAIL PROTECTED]> wrote: > all the 'settings' are taken care of for you so you don't have to do any > exports or anything like that. The import statement for Context and Template > should work fine when you use the above command. > Okay, but what happens if I'm

Is django a good solution for non-CMS web-apps?

2007-06-29 Thread walterbyrd
I have been reading that django is good for CMS type sites, but not especially good for other types of web applications. For example: financial applications. I have read that TurboGears is better for those other apps. I am not sure why this would be true. Except, maybe, because TG has some sort

Re: django book chpt. 3 bug?

2007-06-18 Thread walterbyrd
Googling around some more, I managed to get it to work. But, I still don't think it's right. According to this site: http://notkeepingitreal.com/articles/category/django According to the blog on that site, parameter in urls.py needs to be changed from: (r'^now/$', current_datetime), To:

django book chpt. 3 bug?

2007-06-18 Thread walterbyrd
I believe this is a bug, and I think it's been reported. I think it was also reported as fixed, but I don't think it is fixed. When I try to run the example program, I get a page full of errors, with this heading: --- AttributeError at /now/ 'function' object has no attribute 'rindex' Request

Re: Total noob needs some help installing

2007-06-18 Thread walterbyrd
On Jun 18, 12:14 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > >>> django-admin.py startproject mysite > > Are you putting that in the python interactive shell? If so, that > would seem to be your problem. You'd probably want to do "python > django-admin.py startproject mysite" from

Total noob needs some help installing

2007-06-18 Thread walterbyrd
I am running debian 4.x testing at home. I also have dreamhost. My plan is to try to get something working on my home box, then I'll try to install django on dreamhost. My plan is to keep the installations as similar as possible - I think that might make it easier. My home box: I have python

examples of database grid table in Django?

2007-05-11 Thread walterbyrd
I would like to see an example of spreadsheet like, grid in django. Something sortable by headers. Would it be difficult to develop something like that in django? What about if the fields needed to be editable? Basic CRUD? --~--~-~--~~~---~--~~ You received this

Re: CRUD - grid? Is Django suitable for this?

2007-05-10 Thread walterbyrd
How about a grid where data is not editable inline, but it still sortable by clicking on column headers? On May 10, 2:50 pm, [EMAIL PROTECTED] wrote: > Django is good for providing the backend, but most of your > functionality is probably going to be provided by ajax/javascript > which django

CRUD - grid? Is Django suitable for this?

2007-05-10 Thread walterbyrd
I assume Django is good for this type of thing: A grid that can be sorted by icons on the top of each column. So if I click on the icon on the 3rd row of the grid, the entire grid will be sorted by that field. Also, I would like to be edit the fields like a spreadsheet, if possible.

Re: How well should I know Python before using Django?

2007-05-09 Thread walterbyrd
Thanks to all who replied. BTW: I have programmed professionally in about a dozen different languages, and have a degree in math with a concentration in comp sci. But, I'm new to Python. I've been reading up, and writing a few simple programs, but I'm still a beginner. > iPython. First thing

How well should I know Python before using Django?

2007-05-09 Thread walterbyrd
Before attempting to use Django, a person should have a Python programming skill level of: 1) beginner 2) intermediate 3) expert To use Django, a developer should have an exceptionally strong knowledge of the following area(s) of Python: __

Does the server have to restarted when you make a change to the code?

2007-03-27 Thread walterbyrd
I found this post on another forum: >>I'd fallen in love with Django, but there were deployment issues, namely that >>the server has to be restarted every time you make a change to the code (this >>was a big deal for my hosting provider).<< http://snook.ca/archives/php/cakephp_initial/ Is

django as a platform for a commercial SaaS project?

2007-03-24 Thread walterbyrd
SaaS = Software as a service, just in case that was not clear. If I wanted to create commercial quality hosted software, would django be the best solution? The sort of things I have in mind would be very database oriented, and involve a lot of forms and reports. I would like to be able to easily

Using django for CMS stuff

2007-02-14 Thread walterbyrd
CMSes like joomla and drupal have a rich assortment of plugins/modules/ extensions for stuff like: blogs, forums, galleries, news aggregators, ecommerce, document management, and so on. How difficult would it be to get that sort of functionallity from dango?

Will django work with Apache 1.3 and FastCGI?

2006-11-17 Thread walterbyrd
I know that django requires Apache 2.X when using mod_python. But, what about if using FastCGI? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Does django have built-in modules, classes, libraries, etc?

2006-11-01 Thread walterbyrd
I am still trying to get a sense of django. For example: does django have a class to build forms, and another for building reports, and another making calendars, etc? Or, does django not need that stuff, since you can probably get most of it from 3rd party scripts?

django for non-web apps?

2006-10-31 Thread walterbyrd
Django is called "The Web framework . ." Does django also make sense for non-web apps? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Django v code generators (codecharge)

2006-07-20 Thread walterbyrd
I am looking to make some basic office productivity apps. Stuff like: timesheets, asset management, inventory management, contact management, helpdesk. I know there is stuff that's already out there, but it's not what I really want. I know thre is a learning curve, either way. I think django

will apps created with django run on a shared host that has mod_python loaded?

2006-04-10 Thread walterbyrd
Or is there anything else required to run django created apps on a shared host? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to