pinax

what is this mean .. "name__icontains" and "description__icontains" in django code,

maps = (maps.filter(name__icontains=search_terms) | maps.filter(description__icontains=search_terms)) i can't find this filter . thanks ...

how to create a page only can be visited by admin using django..

how to do this and has pinax any app do this ? thanks ...

is there any app used for upload in pinax ?

i want to upload something thanks ...

Python Framework for small website

I am planning a small, simple website to showcase myself as an engineer. My preferred language is Python and I hope to use it to create my website. My pages will be mostly static, with some database stored posts/links. The site will be simple, but I would like to have freedom in how it operates. I plan on using CSS/JS for the design, so...

Enforce unique upload file names using django?

What's the best way to rename photos with a unique filename on the server as they are uploaded, using django? I want to make sure each name is used only once. Are there any pinax apps that can do this, perhaps with GUID? ...

Problem with configuring mod_wsgi WSGIDaemonProcess option

I am trying to deploy Pinax bundle of Django framework + and selected applications. Here is my apache config: WSGIDaemonProcess ptest python-path=/home/pinax-env/lib/python2.5/site-packages WSGIProcessGroup ptest WSGIScriptAlias / /home/ptest/deploy/pinax.wsgi When I restart apache I get the following error: Invalid option to WSGI d...

How do I fix this Django error "Exception Type: OperationalError Exception Value: no such table?"

I've finally installed all the requirements (so i think!) of a Django project, and I'm trying to get a local install running on my Mac (OSX 10.4). I'm getting the following error: Blockquote OperationalError at / no such table: django_content_type Request Method: GET Request URL: http://127.0.0.1:8000/ Exception Type: O...

Problem with anchor tags in Django after using lighttpd + fastcgi

I just started using lighttpd and fastcgi for my django site, but I've noticed my anchor links are no longer working. I used the anchor links for sorting links on the page, for example I use an anchor to sort links by the number of points (or votes) they have received. For example: the code in the html template: ... {% load sorting...

django - variable declared in base project does not appear in app

I have a variable called STATIC_URL, declared in settings.py in my base project: STATIC_URL = '/site_media/static/' This is used, for example, in my site_base.html, which links to CSS files as follows: <link rel="stylesheet" href="{{ STATIC_URL }}css/site_tabs.css" /> I have a bunch of templates related to different apps which exte...

Pinax: Customize Signup and profile

I want to gather some more information when the user signs up and also display this as part of the profile information - so that the user can edit it once he creates a login. How do i do this? I did search a lot the docs, but i did not find anything and i did not want to mess up the base code when i change the underlying models/forms....

url() in Pinax Project

I cloned the basic_project in Pinax and created a new app in the apps folder. I then created a urls.py in the app. I changed the main urls.py file to: (r'^newpage/', include('newapp.urls')), However, in the newapp urls.py i need to use this url() in my patterns. Why cant I leave it out? ...

Non local connections for django project server

I ran the command python manage.py runserver 0.0.0.0:8000 It started the server up, but when I navigate to http://myipaddress:8000, my webbroswer doesnt connect. I also tried with my iphone safari brower and got the same thing. I am using Mac OS X 10.6 and am connect to the the internet through my router. Any suggestions on how to all...

Importing Modules (SQLITE3) from Python Virtual Environment

I am using a Windows machine with python, django, and pinax installed. I can import modules from any normal location (even if it's not in the actuall installed directory). However, I cannot import these same modules when I am in a virtual environment that I built for Pinax. What are possible causes of this? What are possible solutio...

Pinax on MediaTemple/other hosting company

I wanted to deloy a pinax project on a mediatemple. Does anyone know how to go about making it work there? or any other webhost? ...

Self Contained Pinax Project

I cloned a basic project. I was wondering which files do i have to copy so it becomes a completely self-contained project? I am referring to the css files, the templates, other apps? Also, where will these files be located. ...

Run Pinax without VirtualEnv

Is there a way to run Pinax without virtualenv? I want to run it without virtualenv as I want to run it on a django-container on mediatemples grid-hosting service. Their containers can scale upto 1Gb of dedicated memory, so I wouldnt have to worry about my own VPS or scaling issues. But their response was: " because of the way the Djan...

mod_wsgi not working with pinax of django

Hi, I tried hard to configure mod_wsgi for an pinax project. I followed the exact instructions from the site (pinaxproject.org), unfortunately, I always got the following error: [Thu Aug 26 17:32:46 2010] [error] [client 173.48.119.55] (13)Permission denied: mod_wsgi (pid=26749): Unable to connect to WSGI daemon process 'www.mysiste.c...

pinax / django installation on virtual env, run on mod_wsgi

Hi, I tried to install Pinax development version by using pip and virtual environment. It was running on 127.0.0.1:8000 very well. However, when I deployed it on Apache 2 using mod_wsgi, it began to raise exception with the following error : SystemError: new style getargs format but argument is not a tuple Any suggestions? I appreci...

Python/GAE social network / cms?

Hi, After much research, I've come up with a list of what I think might be the best way of putting together a Python based social network/cms, but have some questions about how some of these components fit together. Before I ask about the particular components, here are some of the key features of the site to be built: a modern almo...

Pinax vs. Plone -- Dev time, flexibility, security?

Trying to evaluate Pinax vs. Plone as platforms for developing a social network with some RIA capabilities and a solid permissions setup allowing the user to make content visible on a per item/group basis. Would I be better off hacking Plone (and having to learn Zope, etc) or adding on/modifying Pinax with existing/new Django? Trying to...