#pinax
March 5th, 2010
| 20:56 | pmatey | sorry guys. let me give that a try |
| 21:00 | pmatey | On a semi-similar note, say I have a pinax site running and I do a pull from git and re-install my pinax-env, will my site that was built with an older version still work? |
| 21:05 | pmatey | Has anybody else noticed that blogs on a pinax deployed site don't seem to parse line breaks or reStructured Text? |
| 21:07 | pmatey | Regarding the blog markup failure, it seems someone has created a bug in the pinax task list a couple of months ago, so I guess I'll look into fixing that. |
| 21:08 | jtauber | we'll be replacing the blog app in the next few weeks |
| 21:08 | jtauber | once biblion can support multiple blogs on a site |
| 21:10 | pmatey | jtauber: Cool, biblion looks much better than the current blog app. |
| 21:10 | jtauber | it is :-) |
| 23:16 | pmatey | Using the latest dev version of pinax and I'm trying to update an old pinax site to run with it. Everything is going fine except I can't figure out why subnav tabs no longer don't work (with my old site). I know hundreds of things could be making this break, but if anybody has any suggestions, I would appreciate it. |
March 6th, 2010
| 17:41 | Soopaman | hi guys |
| 17:41 | Soopaman | anyone awake? |
| 17:41 | Soopaman | having a hard time figuring out how to run my pinax site via passenger_wsgi.py |
| 17:42 | Soopaman | new to setting up python sites and could really use some experienced eyes |
March 7th, 2010
| 13:25 | Powerplay | hi i am trying to include a snippet from app1 in app2 by template inheritance http://dpaste.com/169004/ Why does this fail? |
| 13:27 | jtauber | template names aren't file paths, you can't use .. |
| 13:29 | Powerplay | hmm |
| 13:30 | jtauber | don't treat it as relative, just give the template name |
| 13:31 | jtauber | are you sure the first one works with "profiles/" in it? |
| 13:32 | Powerplay | right as in {% include "profile_right_panel.html" %} But how do tell the blog app to work with a template in the profile app? |
| 13:32 | Powerplay | yes works perfectly fine |
| 13:32 | jtauber | just use the absolute name |
| 13:32 | jtauber | as I said, there's no relative template naming |
| 13:33 | Powerplay | hmm |
| 13:33 | Powerplay | in the message app i got this <div class="navigation"> |
| 13:33 | Powerplay | {% include "messages/right_panel.html" %} |
| 13:33 | Powerplay | </div> |
| 13:34 | Powerplay | works too |
| 13:34 | Powerplay | and just {% include "profile_right_panel.html" %} in the blog doesn' |
| 13:34 | Powerplay | t |
| 13:39 | Powerplay | jtauber, absolute paths fail too http://dpaste.com/169007/ |
| 13:41 | jtauber | you misunderstand when I say absolute paths |
| 13:41 | jtauber | they are not file paths |
| 13:41 | Powerplay | hmm |
| 13:42 | jtauber | it will look under the project's templates dir first |
| 13:42 | Powerplay | right |
| 13:42 | jtauber | and then under the theme's templates dir |
| 13:42 | jtauber | and then under each app's templates dir |
| 13:43 | Powerplay | so {% include "profile_right_panel.html" %} should succeed in the third search b ut it doesn't |
| 16:17 | mgag | I am building on top of pinax, but I have a djnago question... |
| 23:20 | dstufft | is there a easy to see list of apps that are currently included in pinax? |
March 8th, 2010
| 13:05 | ockham_ | hi, can someone give me a hint how to make pinax redirect to the previous page after login? |
| 16:14 | [dev] | hi there. |
| 16:15 | [dev] | Anyone? |
| 16:33 | dko | Anyone there to help out a noob with pinax? |
| 16:40 | sunoano | just start asking questions and somebody will answer them :) |
| 16:41 | sunoano | http://www.peterbe.com/plog/how-and-why-to-use-... nice article |
| 16:44 | dko | cool thanks. |
| 16:47 | dko | I'm not able to get a website header image to show up on the cms-project-holiday house. I can browse/load the image file and submit. But there is no change...the image does not show. |
| 18:43 | pmatey | Hello, I'm running a pinax 0.7 site and I'm looking to update to the dev version once eldarion is supported. I need to use some sort of schema migration in order to not loose my db data, and south didn't seem to want to work for me. Has anybody else successfully used schema migration software with pinax, and if so, which one? |
| 18:45 | pmatey | Also, I'm curious as to whether there is an expected release date for 0.9? |
| 18:49 | jraffucci | I've been messing with south |
| 18:49 | jraffucci | did u get the latest from the repo? |
| 18:50 | jraffucci | I forget sometimes to put the persons name in the msg: pmatey, did u get the version from the repo? |
| 18:50 | pmatey | jraffucci: Yes, but I didn't spend any significant time trying to getting it to work. |
| 18:51 | pmatey | jraffucci: so you've been able to get it to play nice with pinax? |
| 18:51 | jraffucci | well, I didn't need to do anything but add south to the package list. |
| 18:51 | jraffucci | i mean |
| 18:51 | jraffucci | the installed apps |
| 18:51 | jraffucci | hmmm |
| 18:51 | jraffucci | when u ran syncdb what did it say? |
| 18:52 | pmatey | it said something like I need to call migrate on 'pinax.apps.profiles' and 'pinax.apps.tribes' |
| 18:52 | pmatey | and when I did that it threw some errors |
| 18:52 | jraffucci | hmm |
| 18:52 | jraffucci | what where the errors? |
| 18:53 | pmatey | But I may be doing something wrong, the docs seemed a little meager. |
| 18:53 | pmatey | Hold on, I closed everything down, let me reproduce the errors |
| 18:53 | jraffucci | k |
| 19:02 | pmatey | So using a newly cloned social project and adding south to the installed_apps and running syncdb, I get this error: http://pastebin.com/eSajmcLw |
| 19:03 | pmatey | which wasn't what I was getting before, so let me see if I can reproduce the error I was getting about profiles and tribes |
| 19:15 | pmatey | jraffucci: I think I just need to play with south a little more. I got everything to work with a cloned social project, its just when I try it on my own custom site that it seems to throw errors. As for the error message I pasted, it was because south doesn't support multiple databases. |
| 19:25 | jraffucci | pmatey: sounds good I think your on the right path... |
March 9th, 2010
| 00:53 | interfaith | anyone happy with django_cron ? |
| 00:53 | interfaith | how about a simple app that runs timer() ? |
| 00:54 | interfaith | a simple way to run some python code every minute or so ? |
| 00:54 | interfaith | django_cron has way too much processing |
| 00:55 | brosner | do you really not have access to cron? |
| 00:55 | interfaith | well yes however i want easy access to the db as well |
| 00:55 | brosner | ok? |
| 00:55 | brosner | what is the problem? |
| 00:56 | interfaith | well making a small python script that has db access with the django simple syntax seems complicated |
| 00:56 | brosner | a management command is complicated? |
| 00:56 | interfaith | i want to run the convenient db access code |
| 00:57 | interfaith | hold on let me elaborate |
| 00:58 | interfaith | in order to populate a table django must be imported ? |
| 00:58 | interfaith | every minute or so, add a table to a database |
| 00:59 | brosner | wait what? |
| 00:59 | brosner | what are you trying to do? |
| 00:59 | interfaith | the background job is to add a record to a table every minute |
| 00:59 | interfaith | using posgres |
| 00:59 | brosner | ok. that's fine. you said add a table to the database every minute ;-) |
| 00:59 | interfaith | oops |
| 01:00 | brosner | in a management command you have full access to your models. |
| 01:00 | interfaith | ok great can you point me to the reference for that ? thx ! |
| 01:01 | interfaith | so a simple stand alone python program can do that ? |
| 01:01 | brosner | |
| 01:01 | interfaith | fantastic.. i will dive there now ! GREAT |
| 01:12 | interfaith | no problem having cron run in the virtual environment ? |
| 01:26 | brosner | interfaith: nope. you can use the full path to the python executable in the virtual env's bin/ directory. that is the best solutions IMO. |
| 19:29 | BlueSilver39 | When do you decide its time to just build my own ove trying to get a re usalbe app to work? |
March 10th, 2010
| 01:21 | Auha | Hello |