pinax

Python, pinax, django, windows AttributeError: 'module' object has no attribute 'call_subprocess'

∥☆過路亽.° 提交于 2019-12-03 20:50:59
I installed pinax on windows after trying to create a project I got this error: (mysite) C:\virtualenvs\mysite>pinax-admin setup_project mypinax Created project mypinax Installing project requirements... Traceback (most recent call last): File "c:\virtualenvs\mysite\Scripts\pinax-admin-script.py", line 8, in <module> load_entry_point('Pinax==0.9a2', 'console_scripts', 'pinax-admin')() File "c:\virtualenvs\mysite\lib\site-packages\pinax\core\management\__init__.py", line 105, in execute_from_command_line runner.execute() File "c:\virtualenvs\mysite\lib\site-packages\pinax\core\management\__init

Installing Pinax on Windows

别说谁变了你拦得住时间么 提交于 2019-12-03 08:37:05
Can I install Pinax on Windows Environment? Is there a easy way? Which environment do you recommend? I have pinax 0.7rc1 installed and working on windows 7, with no problems. Check out this video for a great example on how to do this. He uses pinax 0.7beta3 on windows XP. http://www.vimeo.com/6098872 Here are the steps I followed. download and install python download and install python image library download pinax at http://pinaxproject.com extract the download to some working directory <pinax-directory> (maybe c:\pinax ?) make sure you have python in your path (c:\pythonXX) make sure you have

how to find user id from session_data from django_session table?

给你一囗甜甜゛ 提交于 2019-12-02 20:30:34
In django_session table session_data is stored which is first pickled using pickle module of python and then encoded in base64 by using base64 module of python. I got the decoded pickled session_data. session_data from django_session table: gAJ9cQEoVQ9fc2Vzc2lvbl9leHBpcnlxAksAVRJfYXV0aF91c2VyX2JhY2tlbmRxA1UpZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5kcy5Nb2RlbEJhY2tlbmRxBFUNX2F1dGhfdXNlcl9pZHEFigECdS5iZmUwOWExOWI0YTZkN2M0NDc2MWVjZjQ5ZDU0YjNhZA== after decoding it by base64.decode(session_data): \x80\x02}q\x01(U\x0f_session_expiryq\x02K\x00U\x12_auth_user_backendq\x03U)django.contrib.auth.backends

How to change the pinax(0.9a2) template?

情到浓时终转凉″ 提交于 2019-12-01 13:18:33
I have installed the pinax(0.9a2) with the pinax-bootstrap theme! Now I want to customize it and redesign the theme, but I didn`t find any *.css files in my template folder. Therefore how to customize the css of the bootstrap theme? So this is how I get my basic pinax project up-and-running:- mkvirtualenv -p python2.7 --distribute mysite cd ~/work pinax-admin setup_project -b basic mysite cd mysite pip install -r requirements/base.txt python manage.py collectstatic python manage.py syncdb python manage.py runserver 8001 which gives me this:- Now that my pinax is running beautifully with

How to change the pinax(0.9a2) template?

断了今生、忘了曾经 提交于 2019-12-01 12:01:53
问题 I have installed the pinax(0.9a2) with the pinax-bootstrap theme! Now I want to customize it and redesign the theme, but I didn`t find any *.css files in my template folder. Therefore how to customize the css of the bootstrap theme? 回答1: So this is how I get my basic pinax project up-and-running:- mkvirtualenv -p python2.7 --distribute mysite cd ~/work pinax-admin setup_project -b basic mysite cd mysite pip install -r requirements/base.txt python manage.py collectstatic python manage.py

How can I satisfy an import of direct_to_template?

a 夏天 提交于 2019-11-30 17:06:04
I am getting an error page from an originally Pinax 0.7 project: ImportError at / No module named simple Request Method: GET Request URL: http://stornge.com:8000/ Django Version: 1.5 Exception Type: ImportError Exception Value: No module named simple Exception Location: /home/jonathan/clay/../clay/urls.py in <module>, line 3 Python Executable: /home/jonathan/virtual_environment/bin/python Python Version: 2.7.3 Python Path: ['/home/jonathan/clay/apps', '/home/jonathan/virtual_environment/local/lib/python2.7/site-packages/pinax/apps', '/home/jonathan/clay', '/home/jonathan/virtual_environment

How can I satisfy an import of direct_to_template?

二次信任 提交于 2019-11-30 16:26:23
问题 I am getting an error page from an originally Pinax 0.7 project: ImportError at / No module named simple Request Method: GET Request URL: http://stornge.com:8000/ Django Version: 1.5 Exception Type: ImportError Exception Value: No module named simple Exception Location: /home/jonathan/clay/../clay/urls.py in <module>, line 3 Python Executable: /home/jonathan/virtual_environment/bin/python Python Version: 2.7.3 Python Path: ['/home/jonathan/clay/apps', '/home/jonathan/virtual_environment/local

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

佐手、 提交于 2019-11-29 19:22:51
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 multiple groups of users, each group having a unique name. Not sure that makes a difference, but I thought I should mention that. Is there some way I can manipulate the http request so that the URL looks to Django as if the url were something like www.domain

How do I write Facebook apps using Django?

老子叫甜甜 提交于 2019-11-29 18:47:42
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. I just saw the presentation of Mr. Eric Florenzano at Pycon 2010 , and he talks about a side project he did on facebook using django. From PYCON 2010: If you've been using Django for any amount of time, you've probably learned some pretty standard practices on how to use it. This talk aims to shatter those conceptions

How do I write Facebook apps using Django?

断了今生、忘了曾经 提交于 2019-11-28 13:42:17
问题 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. 回答1: I just saw the presentation of Mr. Eric Florenzano at Pycon 2010 , and he talks about a side project he did on facebook using django. From PYCON 2010: If you've been using Django for any amount of time, you've