Re: Is Auth really dependent on Sites?

2009-09-10 Thread Andrew Gwozdziewycz
On Sep 10, 3:05 pm, Joshua Russo wrote: > I wanted to remove the Sites app because it's not needed at the moment, but > when I ran the unit tests for the project the Auth unit tests use Sites > functionality. If I'm using Auth should I leave sites? I really just wanted >

Re: Proper way of importing projects modules

2009-09-10 Thread Andrew Gwozdziewycz
This whole discussion is pretty much what virtualenv solves http://pypi.python.org/pypi/virtualenv Basically, for each package that you wanna reuse, install it into the virtualenv for the project your working on. It works great. On Sep 10, 2:00 pm, Brian Jones wrote: > Well,

proper place to put startup code

2009-09-10 Thread Andrew Gwozdziewycz
Hello, What's the recommended place to put code that should be run once upon application initialization? I'm currently doing something along the lines of: 1. Create a new signal post_init 2. Connecting handlers to post_init in a file startup.py 3. Sending the signal at the top of a

Re: Easy thumbs in your models

2006-09-27 Thread Andrew Gwozdziewycz
Of course you have to "import os.path"On Sep 25, 2006, at 7:03 PM, zenx wrote:I needed to make this and I hope it helps some people there. Features:- Generate thumbs from ImageFields when creating the models(file.jpg -> thumbnail saved as: file.thumbnail.jpg)- Showing thumbs in admin- Deleting

Re: Easy thumbs in your models

2006-09-27 Thread Andrew Gwozdziewycz
See belowOn Sep 25, 2006, at 7:03 PM, zenx wrote:I needed to make this and I hope it helps some people there. Features:- Generate thumbs from ImageFields when creating the models(file.jpg -> thumbnail saved as: file.thumbnail.jpg)- Showing thumbs in admin- Deleting thumbs when deleting the

Re: Problem with templatetags and template inheritance

2006-06-15 Thread Andrew Gwozdziewycz
I found a way to work around this, but it's still bugging me that it doesn't work this way. On Jun 16, 2006, at 12:48 AM, Andrew Gwozdziewycz wrote: > I'm trying to build a system, which uses generic views, inherited > templates and template tags. > > The example is th

Problem with templatetags and template inheritance

2006-06-15 Thread Andrew Gwozdziewycz
onNode() register.tag('get_content_section', do_get_content_section) // {% load content_utility %} {% get_content_section %} Anybody have any ideas as to what might be causing this problem? --- Andrew Gwozdziewycz [EMAIL PROTECTED] http://23excuses.com | http

Re: Different users with access to different fields

2006-02-26 Thread Andrew Gwozdziewycz
et you conditionally output different views based on permissions. --- Andrew Gwozdziewycz [EMAIL PROTECTED] http://ihadagreatview.org http://and.rovir.us --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: Multi-page forms

2006-02-24 Thread Andrew Gwozdziewycz
e anyway. Just put it in the survey table as it comes in. But the point is that your only overhead is having an extra column, rather than multiple unnecessary inserts to the database. --- Andrew Gwozdziewycz [EMAIL PROTECTED] http://ihadagreatview.org http://and.rovir.us --~--~

Comments broken in magic-removal?

2006-02-20 Thread Andrew Gwozdziewycz
t comments for a particular Topic. Any suggestions? --- Andrew Gwozdziewycz [EMAIL PROTECTED] http://ihadagreatview.org http://and.rovir.us --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&

comments broken in magic-removal?

2006-02-18 Thread Andrew Gwozdziewycz
29 30 Or did i do something wrong? --- Andrew Gwozdziewycz [EMAIL PROTECTED] http://ihadagreatview.org http://and.rovir.us --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&q