Re: Thanks!!!!!!!!!!!!!!!!!

2008-06-20 Thread chris vigelius
me2... Am Freitag, 20. Juni 2008 05:50:13 schrieb Juan Hernandez: > me 2 :D > > On Fri, Jun 20, 2008 at 10:42 PM, k0001 <[EMAIL PROTECTED]> wrote: > > Can I jump into the "THANKS" bandwagon? > > > > Thanks. =) > > > > On Thu, Jun 19, 2008 at 11:41 PM, Gene Campbell <[EMAIL PROTECTED]> > > > >

Re: CSS not working in exe

2008-06-20 Thread chris vigelius
re you seem to store your actual media files? If this "data_files" property does what I think it does, then you import admin media from site-packages, but not your own media files. And btw, there's a backslash missing in the third line, too. hth, chris --~--~-~--~~---

Re: Development environment

2008-06-25 Thread chris vigelius
Am Mittwoch, 25. Juni 2008 23:17:37 schrieb Fernando Rodríguez: > Hi, > > I'm currently learning django on Ubuntu, but my background is Windows, > so I'm not a VIM kind of guy. What kind of IDE do you guys use or > recommend? > > Thanks in advance. Eclipse + Pydev + Aptana (for HTML/CSS/Javascrip

Group by week

2008-06-26 Thread Chris H.
I have a view which returns a group of upcoming events. I would like to display the events grouped by week: Week of June 22 * Event 1 * Event 2 * Event 3 Week of June 29 * Event 4 * Event 5 * Event 6 I've seen examples for doing this using the ifchanged tag, and I've got that working. But I c

Re: Group by week

2008-06-26 Thread Chris H.
On Jun 26, 10:44 am, "Scott Moonen" <[EMAIL PROTECTED]> wrote: > Chris, I have a utility function that does this for me.  You can call it > from your view, or if you set things up right from your template: Good stuff, Scott. Thanks! Might be worth turning into a proper

Re: Stability of trunk and 1.0 target: experience, testimonials?

2008-06-27 Thread chris vigelius
ese nasty unique key constraint etc. problems in test, which you simply do not see in development (as sqlite doesn't support them). regards, chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djang

Best way to structure flat pages

2008-06-30 Thread mccomas . chris
Hey all. Working on a new site for a University and was curious on the best way to use Django's FlatPages app, if I should use that or not. They have like 6 main sections: Current Students, Prospective Students, Faculty and Staff, About the School, Pharmacy Profession, and Community. Each of the

Development File Structure

2008-07-01 Thread mccomas . chris
Hey, I downloaded Python 2.5.2, the most recent release of PostgreSQL, and Django 0.96. I've installed PostgreSQL and Python, as well as psycopg for PostgreSQL. I ran my Python command line and it can't find Django. Where do I need to put Django so that the Python can find it? --~--~-~-

Re: Development File Structure

2008-07-01 Thread mccomas . chris
brian, thnx. i got python2.5 installed and django9.6 installed. when i run my python command line and import django and test the version it works. however when i run the command prompt in windows and go to the django directory in python25\lib\site-packages\ and type in python django- admin.py sta

Make changes to model...

2008-07-02 Thread mccomas . chris
Hello all, I'm using MySQL with Django, I setup my models and installed everything, got into the admin panel and realized I left a field out. I went back into my models file, added it, and it gives me an error because while I guess the code realized it's there, that field wasn't created in MySQL.

Re: Make changes to model...

2008-07-02 Thread mccomas . chris
Thanks guys. I know how to do it via the admin, wasn't sure if I was "missing" something within Django to handle it :) Kind of off topic, but say myapp is named myapp, then in the heading the admin will be displayed Myapp with the model items below it. Other than customizing the admin template is

custom template tags

2008-07-03 Thread mccomas . chris
On my homepage I want to have a few different items, one is the recent news items. I created the recentnews.py file: from myproject.site.models import Blog from django.template import Library,Node register = Library() def build_news_list(parser, token): return NewsObject() class NewsObjec

Re: custom template tags

2008-07-03 Thread mccomas . chris
Didn't mean to send it. In my template I'm using this to call the recent news: {% load recent_news %} {% get_news_list %} I'm getting a TemplateSyntaxError, 'recent_news' is not a valid tag library: Could not load template library from django.templatetags.recent_news, No module named recent_news

Re: custom template tags

2008-07-03 Thread mccomas . chris
thanks man, for some reason i couldn't get it and it was about to drive me nuts :) On Jul 3, 10:37 am, Berco Beute <[EMAIL PROTECTED]> wrote: > It should be in: > /project/application/templatetags/ > > 2B --~--~-~--~~~---~--~~ You received this message because you

Re: custom template tags

2008-07-03 Thread mccomas . chris
one more thing. the first one is working. i tried to setup a second template tag for the page called more_news.py. the first is working as recent_news.py. recent_news.py gets the more recent entry, i have more_news.py set to get 2-6. i have {% load more_news %} since the file is more_news.py, it

Re: custom template tags

2008-07-03 Thread mccomas . chris
here's the code: TEMPLATE {% load more_news %} {% get_morenews_list %} {% for news in more_news %} {{ news.title }} {% endfor %} MORE_NEWS.PY from myproject.site.models import Blog from django.template import Library,Node register = Library() def build_morenews_list(parser, token):

Help with templatetags

2008-07-04 Thread mccomas . chris
i setup a custom template tag for my index page called recent_news. i tried to setup a second template tag for the page called more_news.py. the first is working as recent_news.py. recent_news.py gets the more recent entry, i have more_news.py set to get 2-6. i have {% load more_news %} since th

Re: Help with templatetags

2008-07-04 Thread mccomas . chris
Yeah I did. I actually tested it on my development server, also on a production server (actually restarted apache several different times)... On Jul 4, 2:22 pm, Brian Luft <[EMAIL PROTECTED]> wrote: > Have you tried restarting the development server? I've noticed that > Django seems to cache te

Re: MediaTemple Containers

2008-07-07 Thread mccomas . chris
I have one of the beta Django containers on MT, and I also have an account on WebFaction, I love MT, but they're severely lacking with the Django containers, IMO. WebFaction is amazing compared to MT if you plan to use shared hosting On Jul 7, 6:20 am, Niall McCormack <[EMAIL PROTECTED]> wrot

permalink with multiple generic views

2008-07-07 Thread mccomas . chris
i found a post from a while back that basically said if you're using the same generic view type with two different urls you couldn't use the permalink decorator, is that still the case with the SVN release? we have our normal news table for the school's news, but we also have students blogging an

Re: permalink with multiple generic views

2008-07-07 Thread mccomas . chris
thanks! On Jul 7, 9:32 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2008-07-07 at 06:28 -0700, [EMAIL PROTECTED] wrote: > > i found a post from a while back that basically said if you're using > > the same generic view type with two different urls you couldn't use > > the permalink

Extending the user system

2008-07-07 Thread mccomas . chris
Would it be proper to use the django admin/user system and just extend it to have staff bios, etc? We're going to have it setup that our faculty will have admin access, with limited permissions to login and upload some class lectures (ppt files), edit their class info, etc. Since they'll already

Re: Extending the user system

2008-07-07 Thread mccomas . chris
yes, but when i do that it doesn't show up anywhere in the admin. i'm not getting any errors and running it in development mode right now. class UserProfile(models.Model): url = models.URLField() home_address = models.TextField() phone_numer = models.PhoneNumberField()

Re: Still unable to log into the admin interface

2008-07-07 Thread Chris Hoeppner
Yeah, the book makes you comment those, but makes you uncomment them again in the next (or the next) chapter =) On 07/07/2008, at 17:44, Fernando Rodríguez wrote: > > El lun, 07-07-2008 a las 12:30 -0400, Karen Tracey escribió: > > > >> >> [snip] >> >> MIDDLEWARE_CLASSES = [] #( >>

Project Management App

2008-07-07 Thread Chris Hoeppner
Hey there! I wonder if anyone knows if there's an app resembling ActiveCollab (or Basecamp, for illustration's sake) that I could plug into a django project. If not, would it be a worthy project with an audience? Chris --~--~-~--~~~---~--~~ Yo

Re: Extending the user system

2008-07-07 Thread mccomas . chris
thanks you guys. one more quick question. i have a field in User is_student, it's a Boolean field. in my course model i want to setup a field so that many students can be added to that course, using a manytomany (since courses have multiple students and students have multiple courses). how can i

getting a manytomany field in date based archive index

2008-07-07 Thread mccomas . chris
egory_list %} {{ category.title }}{% endfor %} {% endfor %} It's not displaying the category info, I also tried latest.get_category_list and the same thing. Thanks Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

running development server

2008-07-08 Thread mccomas . chris
hey all, i'm trying to open up my development server to a couple of our other staff members to help me start testing next week. to open up the development server to others on our network, do i set runserver to my IP or the network's

Re: running development server

2008-07-08 Thread mccomas . chris
erver with CTRL-BREAK" line I get "Error: (10049, "Can't assign requested address")" error. if anyone has had this error, please let me know and i can work with our network admin to fix it. the server runs fine when it's just on my machine at 127.0.0.1:8000. chris

Server config

2008-07-09 Thread mccomas . chris
Hey, At work we're getting a new server and going to use it as our web- server and use Django to run our website and our special student/ faculty stuff. What does everyone recommend? FreeBSD, RedHat, or Ubuntu? Thanks, --~--~-~--~~~---~--~~ You received this mess

Re: Where to put stylesheets?

2008-07-09 Thread mccomas . chris
did you set the path to your in your URLconf, since you're using the development server? On Jul 9, 2:59 pm, Benjamin Buch <[EMAIL PROTECTED]> wrote: > > Just to clarify what may be obvious...do you have the correct one > > of these: > > >  href=" {{ MEDIA_URL }}styles.css"  <- what you wrote > >

Re: Where to put stylesheets?

2008-07-09 Thread mccomas . chris
meant to put this in there: http://www.djangoproject.com/documentation/static_files/ On Jul 9, 2:59 pm, Benjamin Buch <[EMAIL PROTECTED]> wrote: > > Just to clarify what may be obvious...do you have the correct one > > of these: > > >  href=" {{ MEDIA_URL }}styles.css"  <- what you wrote > >  hr

Re: Server config

2008-07-09 Thread mccomas . chris
Thanks Jeff. Something else, we're going to be running that as the web-server, but also have a media server, but it is a Windows server. Still possible to send the audio/video/powerpoint to the media server, even though it is Windows? On Jul 9, 2:48 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote: >

Re: Server config

2008-07-10 Thread mccomas . chris
Thanks for the input. I think we're going with Ubuntu. On Jul 9, 11:01 pm, elithrar <[EMAIL PROTECTED]> wrote: > On Jul 10, 2:08 am, [EMAIL PROTECTED] wrote: > > > What does everyone recommend? FreeBSD, RedHat, or Ubuntu? > > Go with what you're most comfortable with - most of my experience has

Authenticate against Active Directory

2008-07-10 Thread mccomas . chris
Has anyone dealt with authentication against Active Directory? I found the Django snippet online (http://www.djangosnippets.org/snippets/ 501/). Right now we have the University network, a web manager, online forums, and online testing software, which the latter three aren't running against AD, so

Re: Authenticate against Active Directory

2008-07-10 Thread mccomas . chris
Thanks tim. Got it setup, but when I try to login to the admin with our dummy acct on AD, I get the error ImproperlyConfigured at /admin/ Error importing authentication backend project.app.auth: "No module named ldap" Running the latest development version of Django with Python2.5 On Jul 10, 8:

Re: Authenticate against Active Directory

2008-07-10 Thread mccomas . chris
Thanks, got it. Thought it was already on the box so that was confusing me :) Now got other errors to worry about, ugh. On Jul 10, 10:23 am, Tim Chase <[EMAIL PROTECTED]> wrote: > > Got it setup, but when I try to login to the admin with our dummy acct > > on AD, I get the error ImproperlyConfig

extension of generic views...

2008-07-10 Thread mccomas . chris
what's the best way with django to remember a page and redirect to that page. so if you're at www.mysite.com/entries/2008/jul/04/this-is-my-entry and you click a link that stores something in a different db field that once it goes through that view and enters the info it redirects you to the url

Re: USAepay cc payment processor

2008-07-12 Thread Chris Moffitt
zenet Line #82 in processor.py is where the post and response code happens. Hopefully this helps you out. -Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Seperate project in a subdirectory (Apache 2.2 & mod_python)

2008-07-14 Thread Chris H.
Trying to run a separate Django project in a sub-directory while the main project runs in the root. I'm using Apache 2.2 and mod_python on Windows. If my apache httpd.conf includes just the subdirectory I get things working correctly: SetHandler python-program PythonPath "['C:/django-p

RE: Admin without Auth

2007-02-19 Thread Chris Brand
> I then erase my apps database and run 'manage.py syncdb' Are you aware that you don't have to erase the database before running syncdb ? If you don't erase the db, you won't need to recreate the superuser... Chris --~--~-~--~~~--

Django/CAS/login_url and @permission_required

2007-02-23 Thread Chris Green
Good day, I'm using Brian Beck's CAS authentication/middleware module for authorizing things and it seems to work great when someone follows a URL they are allowed access to. @permission_required("data.view_logs") def get_stuff(): return myview() I've run into a bug that was originally tri

Re: Upcoming Django release, and the future

2007-02-25 Thread Chris Moffitt
on but this may have to wait until 1.0. http://code.djangoproject.com/wiki/VersionOneFeatures#DecimalField Enjoy Dallas & thanks for all the hard work! -Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&qu

Re: Upcoming Django release, and the future

2007-02-26 Thread Chris Moffitt
legal aspects. Just let me know. -Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this gro

RE: Upcoming Django release, and the future

2007-02-26 Thread Chris Brand
about a bug # (I will see if I can find one), but I always seem to end up with errors about unknown table names, and end up having to do the filtering or ordering in python rather than in the SQL. This is with MySQL as the db, BTW, which I guess might make a difference. Chris --~--~

RE: Upcoming Django release, and the future

2007-02-26 Thread Chris Brand
> Please do elaborate on this. AFAIK FKs in filter() work just fine, so > if there's something broken we should know about it right away. I found ticket 2076, but that only concerns order_by(). I haven't got access to my code at th

RE: Upcoming Django release, and the future

2007-02-26 Thread Chris Brand
> I'm not sure how Chris is filtering/ordering, but there are > several ways of specifying fields, depending on the context. In > filtering, one needs to use the double-underscore scheme as in > > Foo.objects.filter(foreignfieldname__foreignfield = 42) > > wher

RE: Upcoming Django release, and the future

2007-02-26 Thread Chris Brand
ed to do. The commented-out version gives : Exception Type: OperationalError Exception Value:(1054, "Unknown column 'camps_application__cadet.sqn.wing.name' in 'order clause'") This is following a series of foreign keys (application belongs to cadet, b

RE: Upcoming Django release, and the future

2007-02-26 Thread Chris Brand
> Can you create a ticket with this on it so I don't lose track of it? http://code.djangoproject.com/ticket/3587 Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

RE: un-broken order_by (was "Upcoming Django release, and the future")

2007-02-26 Thread Chris Brand
relationships won't require database queries.", I assumed that "this is a performance booster" meant that I didn't need to worry about it until I had a performance problem, but clearly it does change the behaviour (because taking it out of this line returns me to "

RE: un-broken order_by (was "Upcoming Django release, and the future")

2007-02-26 Thread Chris Brand
| PRI | NULL| auto_increment | | board_id | int(11) | NO | MUL | || | start_time | time| NO | | || | end_time | time| NO | | || | _order | int(11) | YES | | NULL|| +--

RE: un-broken order_by (was "Upcoming Django release, and the future")

2007-02-28 Thread Chris Brand
k or so before I have the time to get to it. I assume the documentation you mention is in the file docs/db-api.txt ? Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

filter on related fields in admin ?

2007-02-28 Thread Chris Brand
In the Admin subclass of my class, is it possible to follow relations for list_display() and/or list_filter() ? When I'm dealing with applications, it would be nice to be able to filter/sort them by the squadron name of the related cadet, for example.

Re: Recursion in templates... again

2007-03-02 Thread Chris Moffitt
I've implemented a similar hierarchy for categories in Satchmo using elementtree. You can see my example here- http://www.satchmoproject.com/trac/browser/satchmo/trunk/satchmo/shop/templatetags/category_display.py -Chris --~--~-~--~~~---~--~~ You received

Trying to get fixtures working - problem with Site

2007-03-12 Thread Chris Moffitt
yone else seen this? I can not use the JSON serializer because it chokes on decimal types. I don't think this is a model issue - it seems to be a problem with the serialized handling sites properly. -Chris --~--~-~--~~~---~--~~ You received this message be

Re: Trying to get fixtures working - problem with Site

2007-03-12 Thread Chris Moffitt
e info about where the problem is, instead of this somewhat vague error- ['This field cannot be null.'] Since I have quite a few fields, it would be helpful if it told me what field or atleast which model it was getting stuck on. Thanks, Chris --~--~-~--~~~-

Re: Trying to get fixtures working - problem with Site

2007-03-13 Thread Chris Moffitt
ould be an issue with data not being represented in the file. The trick is figuring out where it is. I can try to dig into it some more later this evening and see if I can narrow it down. Do you have any hints on how to figure out which field or model is c

Per-app permissions ?

2007-03-14 Thread Chris Brand
What's the best way to restrict access on a per-app basis ? I want to have two apps, with some users allowed access to one, others allowed access to the other, and some allowed access to both. Any advice would be very much appreciated. Thanks,

ANN: Barnum

2007-03-26 Thread Chris Moffitt
what shows up (see the 2 examples below). Today I may be: Neil Simmons 6329 Rummel Creek Cove Arctic Village AK, 99722 or maybe Blair Parr 4516 Billy Cross Circle Corona Del Mar CA, 92625 Thanks, Chris --~--~-~--~~~---~--~~ You received thi

Re: Managing users through Admin app

2007-03-28 Thread Chris Moffitt
of having multiple AUTHENTICATION_BACKENDS. Try it with just the EmailBackend. What errors are you getting? -Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Re: Send mail with gmail smtp

2007-04-02 Thread Chris Moffitt
> Has anyone successfully used gmail's smtp to send mail? I've been > trying, but so far no luck. I've added this to my settings.py: > > EMAIL_TLS = True > EMAIL_HOST = smtp.gmail.com > EMAIL_HOST_PASSWORD = mypassword > EMAIL_HOST_USER = myusername > EMAIL_PORT = 465 > > Is something incorrect/mi

Re: Restructured text parsing not showing h1 levels.

2007-04-02 Thread Chris Moffitt
tle to document title (and subsequent section title to document subtitle promotion; docutils.transforms.frontmatter.DocTitle)." You'll need to make this change in your /etc/docutils.conf file (or in one of the other files it mentions). Then, it should work for you. Good luck, Chris --

Per-app permissions ?

2007-04-03 Thread Chris Brand
What's the best way to restrict access on a per-app basis ? I want to have two apps, with some users allowed access to one, others allowed access to the other, and some allowed access to both. Any advice would be very much appreciated. Thanks,

Using url in a view

2007-04-03 Thread Chris Moffitt
{% url full-archive 1945 %} Is there a way i could access it in a view? def archive(request): Some code to access which named url here Basically, I'd like to access the value "full-archive" while in the archive view. Does this make sense? If s

Re: Using url in a view

2007-04-03 Thread Chris Moffitt
Malcolm, Thanks for the speedy response. Upon further reflection, I'm thinking I'd like to do something like: reverse(request.path) Will that return the name of the view? In this case, 'full-archive' -Chris --~--~-~--~~~---~--~~ You r

Re: Using url in a view

2007-04-04 Thread Chris Moffitt
> > Oh, I see what you're asking now. There's no built-in way to do that. Ok. Do you think this would be a useful feature. I don't know if I can create the patch but at a minimum I can put in a ticket so it doesn't get lost. -Chris --~--~-~--~~---

Sorting multiple models - Tumblelog

2007-04-04 Thread Chris H.
In developing my new personal website using Django, one thing I am doing is replicating much of my data into my own domain. Things such as photos from flickr, links from del.icio.us and current tracks from last.fm. I'd also like to incorporate a tumblelog which will aggregate this information (

Re: Contact Form App

2007-04-11 Thread Chris Moffitt
/shop/views/contact.py -Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send ema

Saving an object takes a long time

2007-04-15 Thread Chris Moffitt
ecting I'm doing something wrong in my db design or in my Django code. I believe that the multiple relationships are causing some amount of extra work during initial creation. Does anyone have any pointers to ways of improving the time to save a new object?

Re: Saving an object takes a long time

2007-04-15 Thread Chris Moffitt
ce would be fine with this speed ;) It seems that it only shows up when the dev web server is running. I also see a delay in production using fcgi but I haven't focused on that yet. Maybe it's a memory consumption thing. Thanks for the pointer. Any other ideas? -Chris --~--~--

Re: Saving an object takes a long time

2007-04-16 Thread Chris Moffitt
Thanks for all the suggestions. I'm going to try to work on some of them this evening and see where it gets me. I'll be sure to let the group know if I have any "aha" moments that might help others. -Chris --~--~-~--~~~---~--~~ You received

Why are my FloatFields strings ?

2007-05-01 Thread Chris Brand
nition : min_age = models.FloatField("Minimum age", max_digits=3, decimal_places=1, default=0, validator_list=[age_validator]) Why is this ? I'm using 0.96 with a MySQL backend. Chris Brand --~--~-~--~~~---~--~~ You received this message becau

RE: Why are my FloatFields strings ?

2007-05-01 Thread Chris Brand
on -V" reports "Python 2.4.3". Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from

Using newforms for multiple db rows

2007-05-03 Thread Chris Brand
udent/blog entry, but I'm having a hard time visualizing it. Thanks in advance for any advice, Chris Brand --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

RE: Using newforms for multiple db rows

2007-05-04 Thread Chris Brand
ike that approach should work well. I'll give it a go. Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.co

Re: Retrieving 'attributes' of a product for generic views

2007-05-08 Thread Chris Moffitt
see if it meets your needs. We're always looking for folks to help contribute. -chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-u

RE: Using newforms for multiple db rows

2007-05-11 Thread Chris Brand
doesn't work when I get the POST data back (I think). This doesn't seem to be a particularly unreasonable objective, so I suspect that I'm again missing some obvious approach... Chris --~--~-~--~~~---~--~~ You received this message because you ar

RE: Using newforms for multiple db rows

2007-05-14 Thread Chris Brand
> I think if it were me I'd build a form builder function, metaclass, or > do it in __init__. Probably the easiest is passing in an argument to > __init__ , that gives enough information to build the form. That sounds like the kind of thing I'm looking for. Thanks very much

Re: django [was "vps"] hosting

2007-05-15 Thread Chris Moffitt
real pain when developing. Right now I'm using www.grokthis.net with a VPS but they also have a shared and advanced offerings too. I've been happy so far. Good luck, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: Shopping cart application for django

2007-05-16 Thread Chris Moffitt
The current url for the satchmo project is http://www.satchmoproject.com We have basic integration with paypal and are working on more as we speak. -Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

extends blocks don't cache parent templates?

2007-05-16 Thread Chris Slowe
ng the template from file again. Is there a settings flag that I'm missing to enable caching? Has anyone seen this before? Thanks in advance, Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django user

Re: extends blocks don't cache parent templates?

2007-05-16 Thread Chris Slowe
return self.parent_name This seems to make everything down the line render happily, given that the case of self.parent_name being a Template is handled already properly, but, of course, I can't tell if it will instead break features that I'm not currently using. It cuts out the 70 ms

Django/Python developer at The Atlanta Journal-Constitution

2007-05-17 Thread Chris H.
formation or would like to apply, please contact me directly at cheisel ajc com. Thanks! Chris Heisel Director of Online Development The Atlanta Journal-Constitution --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: Decimal fields have landed on trunk: rename your FloatFields

2007-05-20 Thread Chris Moffitt
This is great news. Thanks for all your work in getting this done! -Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegro

RE: Displaying my table data

2007-05-23 Thread Chris Brand
"", line 1, in ? > AttributeError: 'QuerySet' object has no attribute 'size' I'd try to get at just one of those three objects first. Something like c[0].size.name except that you might need to use list(c)[0], I can't remember. Chris --~--~---

RE: {{ perms }} seems to be empty

2007-05-24 Thread Chris Brand
you could do {% if perms.lab %} for "any permission in the lab app" ? Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@go

On the subject of error messages...

2007-05-24 Thread Chris Brand
track this down (that seems likely to be available, but I don't know for sure). (For the curious, I'd missed a comma between two parameters where I called render_to_response()). Chris Brand --~--~-~--~~~---~--~~ You received this message

View (maybe middleware?) question

2007-05-30 Thread Chris Kelly
his, or if just calling it in every view is appropriate. Thanks in advance! -Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@goog

Re: View (maybe middleware?) question

2007-05-31 Thread Chris Kelly
ore for the look and feel when the users visit the site. I can probably get away with restricting it to this particular app (in the middleware) and just create a list of common view urls that it should ignore when looking at the theme portion of the url, so as to avoid strange path catches. -Chris On

Re: Django deployment à lá Capistrano

2007-09-11 Thread Chris Hoeppner
vers, yaml looks like a good > option for this configuration, or something parseable by ConfigParser > sounds better? > > 2007/9/10, David Reynolds <[EMAIL PROTECTED]>: > > > On 10 Sep 2007, at 4:13 pm, Chris Hoeppner wrote: >

Re: Django deployment à lá Capistrano

2007-09-11 Thread Chris Hoeppner
u going to create a wiki and repository for this project any > time soon? It would be a much more effective means of collaboration > than the mailing list. > > --Jon > > On 9/11/07, Chris Hoeppner <[EMAIL PROTECTED]> wrote: > > > > > > > > I thin

Re: Django deployment à lá Capistrano

2007-09-11 Thread Chris Hoeppner
I know, I know. Know what? I'll setup a trac site on a domain of mine. We can always move it somewhere else. El mar, 11-09-2007 a las 14:02 +0100, Jon Atkinson escribió: > I'm not sure the name is really as important as working code. > > --Jon > > On 9/11/07, Chris H

Re: Multi-table lookup ... Pt.2

2007-09-11 Thread Chris Brand
) is zero (because your if statement is wrong) ? That looks like it could explain the error you're seeing. Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Django deployment à lá Capistrano

2007-09-12 Thread Chris Hoeppner
El mar, 11-09-2007 a las 12:26 -0700, Jonas escribió: > Before that someone starts working about this, you must consider this: > > 1. It's already has been created a project with that intention. Its > name is capystrano [1] and althought has been not uploaded code -he > could be working offline-,

Re: django & trac on the same lighttpd?

2007-09-13 Thread Chris Moffitt
Yes, you can absolutely have trac and django on the same instance. When you say it doesn't work, what is happening? -Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: Site level data models

2007-09-14 Thread Chris Hoeppner
I always have an app called "core" for that kind of stuff, like non-app related views, forms, middleware, models... etc. El vie, 14-09-2007 a las 03:09 -0700, Stewart escribi�: > Hi > > I'm considering writing an web application in Django but I'm a little > confused about the Site-App model. >

Re: reassessing our Operating System

2007-09-18 Thread Chris Brand
ad to run 2.3 and 2.5) It can > make configuration for deployment to be a bit of a pain. I've had no such problems with my Fedora Core 6 box. Just installed everything using yum and it worked fine. I think it uses python 2.4.4 throughout. Chris --~--~-~--~~~

Re: reassessing our Operating System

2007-09-19 Thread Chris Hoeppner
Linux is linux after all. The kernel remains largely the same, unless you get a patchy distro. The choice is all about your knowledge. If you know your way around in linux, it doesn't really matters. If you're a bit *newer*, you might want to go with a distro with strong repos and a good package

Re: How to implement funky caching

2007-09-22 Thread Chris Hoeppner
That's more or less how flatpages work. Have a look at their middleware. El s�b, 22-09-2007 a las 05:40 -0700, julian.bash escribi�: > Hi! > > Does anyone have an idea how to implement funky caching with django? > For those who don't know what that is (it's similar to how movabletype > does cach

Re: How to implement funky caching

2007-09-22 Thread Chris Hoeppner
If it is Django/Rails who is doing the thing, the server *has* to run it. So it's nonsense speaking about mephisto doing that. The deal would be in apache taking care of it. El s�b, 22-09-2007 a las 17:26 +, julian.bash escribi�: > Thanks a lot for your answers! > > The even greater thing w

<    4   5   6   7   8   9   10   11   12   13   >