Re: Django admin page hangs in django server - where is web server error log?

2009-04-11 Thread Zain Memon
Since no messages are shown in the log, the connection is most likely being blocked somewhere upstream. Check that you've allowed port 8001 through any firewalls or routers you have set up. Zain On Sat, Apr 11, 2009 at 5:23 PM, adelein wrote: > > This is the server output: >

Re: basic-profile install error

2009-04-22 Thread Zain Memon
Does the file /home/username/webapps/sms/sms/basic/__init__.py exist? If not, create it. That file is required for Python to treat the directory as containing packages. Zain On Wed, Apr 22, 2009 at 12:23 AM, Denhuang wrote: > > The project setting files are here

Re: Django turns?

2009-04-22 Thread Zain Memon
django-schedule is another option you can look at. http://github.com/thauber/django-schedule/tree/master On Wed, Apr 22, 2009 at 1:39 PM, Sergio Durand wrote: > > Hi, > > Visit swingtime project: > http://code.google.com/p/django-swingtime/ > Maybe it's what you are

Re: Problem in tutorial

2009-04-23 Thread Zain Memon
Your SQL is wrong. Look up the correct syntax for changing a column in the MySQL docs. On Thu, Apr 23, 2009 at 12:54 AM, 83nini <83n...@gmail.com> wrote: > > Hi guys, > > I'm working on django tutorial that is in "www.djangobook.com", I'm in > chapter6 where i'm in the process of creating an

Re: Only show field in admin for superuser

2009-04-23 Thread Zain Memon
You can override the ModelAdmin.save_model() method to check if the current user has permission to change the owner. Take a look at http://www.b-list.org/weblog/2008/dec/24/admin/ to see an example. On Thu, Apr 23, 2009 at 1:37 AM, phoebebright wrote: > > I have a model

Re: Only show field in admin for superuser

2009-04-23 Thread Zain Memon
, Apr 23, 2009 at 3:32 AM, phoebebright <phoebebri...@spamcop.net>wrote: > > Zain, > > Thanks for responding. > I would really prefer not to show the field at all - I don't want > ordinary users being able to see a list of all the users on the > system! > > Phoebe >

Re: graph tools

2009-04-23 Thread Zain Memon
You might find it easier to go with a Javascript library to render the graphs instead; for example, the excellent flot plugin for jQuery. http://code.google.com/p/flot/ On Thu, Apr 23, 2009 at 12:10 AM, Lars Stavholm wrote: > > Hi All, > > looking to produce graphs within a

Re: Hierarchy menu system

2009-04-23 Thread Zain Memon
It sounds like you're trying to build a CMS app; check out django-cms if you haven't already. http://django-cms.org/ On Wed, Apr 22, 2009 at 9:50 AM, tdelam wrote: > > What's the best way to build a hierarchy menu system? e.g: Page items > can have sub-pages and sub-pages can

Re: New site: www.portaltotheuniverse.org

2009-04-23 Thread Zain Memon
Cool! Mind sharing the names of any open source django apps you used? On Thu, Apr 23, 2009 at 6:09 AM, larsholm wrote: > > Dear all, > > Allow me to advertise for our new Django based site: > http://www.portaltotheuniverse.org > > Keeping up-to-date with cutting-edge astronomy

Re: Ajax and https

2009-05-01 Thread Zain Memon
You cannot make cross-site requests in Javascript, for security reasons. See: https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript This has nothing to do with Django, however, so if you need further information, you should take your question to the JQuery mailing lists. Zain On

Re: tinymce not displaying on admin template

2009-05-04 Thread Zain Memon
Your TINYMCE_JS_URL is .../site_media/js/tiny_mce/tiny_mce.js while the file apparently is at .../site_media/tiny_mce/tiny_mce.js. Zain On Mon, May 4, 2009 at 9:59 AM, Jesse wrote: > > Hello, > > I'm trying to implement django-cms. The CMS pages in admin display, > but not

Re: How to add a customized validation/authorization to django.contrib.admin

2009-05-05 Thread Zain Memon
You're going to want to override a couple of ModelAdmin methods. Take a look at this blog post. http://www.b-list.org/weblog/2008/dec/24/admin/ On Tue, May 5, 2009 at 5:19 AM, topcoder...@gmail.com wrote: > > Hello everyone, > > In my application, I heavily used

Re: Introducing FirePy, a FirePHP server library for Django

2009-05-06 Thread Zain Memon
What's the difference between your project and FirePython? http://firepython.binaryage.com/ On Tue, May 5, 2009 at 10:18 PM, Sung-Jin Hong wrote: > Hello everyone! > > I've made a simple FirePHP server library for Django. > > For those who are not familiar with FirePHP,

Re: Django version

2009-05-19 Thread Zain Memon
import djangodjango.get_version() On Tue, May 19, 2009 at 10:47 AM, VidrSan wrote: > > How can I see django version on my web-server? Just python's code, > beaucause I can't find any information on hosting > > > > --~--~-~--~~~---~--~~ You

Re: Best Django host

2009-05-19 Thread Zain Memon
http://djangofriendly.com/ On Tue, May 19, 2009 at 6:21 PM, LeonTheCleaner wrote: > > Hi, > > I currently use dreamhost, but the installation process is very slow. > Is it me or this process is overly complicated? All I want is to > install an already written django project