.pyc files not being created

2008-07-14 Thread blis102
Hey all, On my Ubuntu server with Apache2 + mod_python, I cant seem to get the .py files to compile like they should (I see no .pyc files in my "src" folder like I do locally). I believe I have proper permissions set (775), but am by no means an expert in this matter. What would cause .pyc files

Re: Automatic Image Resizing upon Upload

2008-07-11 Thread blis102
You could also use django-photologue. Its quite powerful and very useful in templates: http://code.google.com/p/django-photologue/ Cheers, Dana On Jul 11, 12:47 am, "Ben Ford" <[EMAIL PROTECTED]> wrote: > Or you could have a look at google appengine for your image storage. They > have an

Re: Not Django related, but would love your opinions

2008-07-11 Thread blis102
This is insane... If this actually happens Im just going to become a farmer... On Jul 10, 4:48 pm, Frantisek Malina <[EMAIL PROTECTED]> wrote: > http://vizualbod.com/articles/usnetworkneutrality > Just to worry you less, I’ll start running a couple huge proxies in > central Europe for all of

Re: why so slow?

2008-06-04 Thread blis102
Also, make sure, if you're using Firefox, make sure none of your extensions (if you have any) are causing the slowness. This is often the case. Dana On Jun 4, 1:04 am, morlandi <[EMAIL PROTECTED]> wrote: > If you're using Firefox on Windows, try >

Re: Wrapping HTML in templates without repeating yourself?

2008-05-28 Thread blis102
Actually that is what I've resorted to as well. If there is something better Id love to hear it as well. There is one other way, but not any more convenient. {% if url %} Some content {% else %} Some content {% endif %} But thats even more bloated, so afik the solution you have is best. Hope

Re: How to Implement "Most Viewed"?

2008-05-27 Thread blis102
@Justin Are you aware of any way to do that with Google Analytics. That is in fact what we use but I am unaware of any API that I could use to achieve that. It doesnt seem like this would let me integrate this all into my models easily. @Norman Do you know of any good resources to do what you

How to Implement "Most Viewed"?

2008-05-25 Thread blis102
Hello All, Im wondering how I could go about implementing a "Most Viewed" feature on my site. Lets say I have events, articles, and businesses, how could I implement a "Most Viewed Businesses", "Most Viewed Articles", "Most Viewed Events", "Most Viewed Content", "Most Viewed Articles This Week",

Re: Get first_name from User Model in to my Model

2008-05-05 Thread blis102
Are you trying to get first and last names from the User model? That would be either self.user.first_name and self.user.last_name (within model) or student.user.first_name and student.user.last_name (outside of model). Hope that helps a bit. On May 4, 8:13 pm, Jonathan Lukens <[EMAIL PROTECTED]>

Re: Stability of using SVN versus 0.96 or 0.96.1

2008-05-01 Thread blis102
at that, or has what Ive been hearing been wrong? On May 1, 12:04 pm, "Michael Wieher" <[EMAIL PROTECTED]> wrote: > I never use bleeding edge software, I let someone else be that level > of bug-testing/beta-testing support. > > On Thu, May 1, 2008 at 2:01 PM, blis1

Stability of using SVN versus 0.96 or 0.96.1

2008-05-01 Thread blis102
Hello All! I am currently working on a CMS using Django and I am ready to make a switch to the SVN version because of the new features, bug fixes, and increased performance but the developer I am working with is unsure of the usefulness/safety of changing to SVN. We are at a stage in the project

Re: how do designers create content

2008-04-25 Thread blis102
I love doing XHTML/CSS, but of course development gets more work/money/ jobs/ladies (j.k.) I started out with Flash, then moved onto XHTML/ CSS, then Javascript, then PHP, then Django, which I think is a good progression so that you understand the whole gamut of web development and can interface

Re: Javascript GUI Editor that works with Django templates

2008-04-21 Thread blis102
Thats not particularly a concern for me, or most users, but I guess if you or your users use opera, that would be a deal-breaker. Since Opera is used by a very very small percentage of web users, I don't think it would be a major problem in most use cases. Just my .02 p.s. FCKeditor's connector

Re: Javascript GUI Editor that works with Django templates

2008-04-19 Thread blis102
My favorite is FCKeditor. Its formatting of source code is really clean and semantic. I have come to hate TinyMCE because it jumbles source code and uses too many tags at times. Try it out, you may like it a lot. On Apr 19, 6:28 pm, Peter Rowell <[EMAIL PROTECTED]> wrote: > > > > gets butchered

Re: urls stumping me

2008-04-18 Thread blis102
Possibly what you have set for get_absolute_url in your models.py file? On Apr 18, 1:14 pm, jeffself <[EMAIL PROTECTED]> wrote: > My project contains two apps, elections and precincts. My main > urls.py file looks like this: > > from django.conf.urls.defaults import * > > urlpatterns =

Re: Calling syncdb twice

2008-03-31 Thread blis102
James, Django Evolution is a project that is working to take care of that problem (http://code.google.com/p/django-evolution/). I have not used it but, if what they say on their site is correct, it does what you are looking for: "When you run ./manage.py syncdb, Django will look for any new