pinax

In a django web application, how do you give users their own subdomain?

I'm starting a new web app project using Django and Pinax. I want to be able to give my users unique domain names like Wordpress and other sites do : username.wordpress.com. I'm not sure how to approach this with Django, since the url parsing logic (in urls.py) starts with the url AFTER the domain name. More specifically, there will be ...

How do I write Facebook apps using Django?

Am in the process of developing some app for Facebook using Django! I've started first by building the app in Django and its shaping up pretty well, now am wondering how can I make it a Facebook app. I would really appreciate real world example for Facebook apps made with Django. ...

how can I change the default language loaded in a project using pinax (django)

I'm working with the basic_project of Pinax and I need to change the default language of the application from english to french or to spanish I'd tried changing the variable LANGUAGE_CODE = 'es', but it remains in english, even the admin, so Im guessing this change does not have any effect at all. where can I continue looking for m...

How to perform a query in django that selects all projects where I am a team member of?

I have the concept of a team in my django app. class Team(models.Model): name = models.CharField(max_length=200) #snip team_members = models.ManyToManyField(User) I would like to fetch all teams the currently logged in user is member of. Something along the lines of Team.objects.all().filter(request.user.id__in = team_me...

django "manage.py index" does not execute as a cron job

I am trying to develop a site using pinax. To index the models using djapian I've been trying to run "manage.py index" as a cron job but keep getting a pinax error. "Error: No module named notification". However the task executes correctly when i run it from the shell. My crontab definition is as follows: SHELL=/bin/sh PATH=/usr/local/...

Error starting Django with Pinax

Upon trying to start a Pinax app, I receive the following error: Error: No module named notification Below are the steps I took svn co http://svn.pinaxproject.com/pinax/trunk/ pinax cd pinax/pinax/projects/basic_project ./manage.py syncdb Any suggestions? ...

What is the most straightforward path to move a project from Pinax 0.5.1 to 0.7beta3?

I'm updating a 0.5.1 complete_project to 0.7beta3 + virtualenv + pip + fabric. I have converted my project into multiple stand-alone applications and I have everything being pulled down by pip from a requirements.txt file. I am now moving the code over and so far can get the Welcome page and perform a log-in, but then it breaks, due, i...

Installing Pinax on Windows

Can I install Pinax on Windows Environment? Is there a easy way? Which environment do you recommend? ...

Pinax Signup and Accounts

Does anyone know a good link to documentation about Pinax signup and "Accounts". I'm trying to work out how to implement our sign-up process in Django / Pinax and am trying to navigate my way between Django's User and Profile classes and the Account class in Pinax.. The main issue for us is we have a sign-up form with several extra ques...

What are the best benefits of using Pinax ?

I recently discovered Pinax that appear to be an django stack with added most-used apps so easy and speed up development. I never used or heard of Pinax before and like to know if you have feedback about it. I love Django and would like to understand what are to parts of web dev Pinax helps with and using what tools. ...

Django admin won't let me delete a user in its auth admin application.

This may be more of a serverfault question I'm not sure. I have two practically identical servers - I cloned the DB from one to the other, and now when I try to delete a user in the Admin > Auth application Django gives the following error: {code} File "/usr/lib/python2.5/site-packages/django/db/models/sql/query.py", line 206, in resul...

How might I handle development versions of Python packages without relying on SCM?

One issue that comes up during Pinax development is dealing with development versions of external apps. I am trying to come up with a solution that doesn't involve bringing in the version control systems. Reason being I'd rather not have to install all the possible version control systems on my system (or force that upon contributors) an...

Pinax & Apache: deliver Attachments only to authenticated users

I want that Apache and Pinax only deliver Attachments to authenticated users. I found this post, but i can't make it work. My Apache-conf-file: WSGIPythonPath /usr/local/bin/python <VirtualHost *:80> ServerName www.domain.com ServerAlias domain.com WSGIDaemonProcess k-production python-path=/path/to/app/pinax-...

In Pinax, how to invite when ACCOUNT_OPEN_SIGNUP = False?

In Pinax, when ACCOUNT_OPEN_SIGNUP = False how does the admin invite more users to the system? How does one generate invitation codes? How do they work? ...

reusable application for django site wide announcements that displays a message only once per user.

I want to show various messages to registered users only once in my django application. I found django-announcements which seemed to do what I want - but I found in testing it marks messages as read by using a session variable, which disappears if the user logs out. This means a message is shown again to a user if they dismiss it when l...

Is Pinax alive?

I've seen Pinax in the past and I'd like to use it today. It's on version 0.7. I wonder know if it's still in development. ...

Set django-notification to be opt in rather than the default of opt out.

I'm using django-notification to allow my users to opt out of certain alerts I generate in my web-application. By default when I create a new notice type it is enabled rather than disabled In the users notification interface (checked) I'd like to make some alerts opt-in rather than the default of opt out. I've looked through the docs ...

Pinax Django Photologue - Moderation

Hi Guys, I'm building a site for the local cub scouts using Pinax. Does anyone have any suggestions as to how we can moderate photos before they are uploaded? ...

Error with Django User : "AttributeError: 'User' object has no attribute 'get' "

Hi, I've just started Django and Python 50 hours ago ;-) so this might be an easy one but I am stuck. I am using similar 'create' view with similar Form implementation in my project with no problem. In this case, I get the above mentionned error. I am using Pinax... 2 from django.shortcuts import render_to_response, get_object_or_40...

Django "and" Pinax or just Pinax?

Hi guys, im developing a personal proyect, well my project is "finished", but now i want to add a social app, i think pinax is ready for this task... but now i would like to know something.... i can use pinax into my project like a django app? or i need to work again my project but using pinax? Sorry with my English Thanks guys. ...