Hi,
I'm working on porting a legacy site (addons.mozilla.org) where all
urls begin with /locale/app/:
e.g.
https://addons.mozilla.org/en-US/firefox/
https://addons.mozilla.org/ja/firefox/addon/5890
https://addons.mozilla.org/en-US/thunderbird
and in some cases, the application is not needed:
I started experiencing this too... I can't tell if this is Gmail or
not. I know I send email via SMTP from Gmail masqueraded with other
aliases. So I feel that something is getting munged. Either in the
mail library or with Gmail's servers.
On Jan 28, 3:02 am, funkazio
I started experiencing this too... I can't tell if this is Gmail or
not. I know I send email via SMTP from Gmail masqueraded with other
aliases. So I feel that something is getting munged. Either in the
mail library or with Gmail's servers.
On Jan 28, 3:02 am, funkazio
Using r9679 (I can svn up if needbe ;) )
How exactly do I save my new resized image? I couldn't quite find any
documentation on this either.
The "easy" way almost seems to do it by writing out the file on my own
and just setting the imagefield to the filename... but there seems
like there
I did a lot of symfony stuff on the side about a year ago, and now
it's the framework that I we use for our frontend servers at
Delicious.com. It was through symfony that I found out about Django,
and started using it quite a bit... so I know a bit about the two
frameworks. Or rather, I know a
I currently serve up images via the DB vs. filesystem. I did this in
order to keep the data in one place, but I now regret it.
I'd recommend overriding the delete() of your image class to take care
of deleting the related image from your storage.
Depending on your needs and the amount of data,
Hmm... this is slightly different... is BookRatings and Books 1 to 1?
If I store these aggregates as part of the class that it's grouping
by. Here's how I do it for restaurants:
class RestaurantRating(models.Model):
restaurant = models.ForeignKey(Restaurant)
value =
I just hg pull the code from time to time. I've had bad luck running
the latest/greatest of anything. So now I only upgrade when I need
to.
-d
On Dec 16, 6:23 am, shabda wrote:
> Django registration has moved from googlecode to Bitbucket, which
> means my projects
Is sqlite3 part of yoru windows path?
Otherwise you can run sqlite3 with the path to your db... e.g.
sqlite3 c:\Users\Benjamin\Desktop\mysite\data\website.sqlite
or wherever your sqlite db is stored.
On Dec 14, 5:10 am, ben852 wrote:
>
I'm curious at what you're trying to ultimately do.
On one of the projects I work on, we put a class on a encapsulating
div that defines future behavior:
and then we can do a special style for
.no_content .content {display: none}
or whatever we end up deciding to do differently.
On Dec
Without knowing too much about your code, the only thing I can say,
having had a similar issue, was that select_related witha specified
depth generally made for more efficient queries.
For fun, I started on some code to output database queries on all my
pages while I'm debugging:
Queries
_diacritics(tag)
except:
pass
tag = reTagnormalizer.sub('', tag).lower()
return tag
On Dec 6, 9:42 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Sat, Dec 6, 2008 at 9:00 PM, Dave Dash <[EMAIL PROTECTED]> wrote:
>
>
tag
It fails on the ' café' and translates it to cafa instead of cafe.
THis is only through the unittest framework (doctest) since I can run
it from django shell and it works as intended.
Is this just an issue with doctest?
On Dec 6, 4:30 pm, "Karen Tracey" <[EMAIL PROTECTED]>
I'm experiencing some strange behavior, and I think it has to do with
how django deals with utf strings:
When I write a test.py file:
import re, unicodedata
reCombining = re.compile(u'[\u0300-\u036f\u1dc0-\u1dff\u20d0-\u20ff
\ufe20-\ufe2f]',re.U)
def remove_diacritics(s):
return
Here's the changelist:
http://docs.djangoproject.com/en/dev/releases/1.0/
On Nov 4, 7:04 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Where can I find the "What's new" in detail in django's doc 1.0?
--~--~-~--~~~---~--~~
You received this message because
I had cleared the cookies, I also tried in another browser as well -
same result.
On Nov 3, 10:50 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Nov 4, 5:08 pm, Dave Dash <[EMAIL PROTECTED]> wrote:
>
> > I am witnessing this issue using manage.py runserve
changed in the last few months and I missed
whatever it was. I'm going to attempt to setup a dummy project and
try this again.
If anybody has some clue, please let me know,
Cheers,
Dave Dash
On Sep 30, 5:05 pm, Álvaro Justen <[EMAIL PROTECTED]> wrote:
> Ah, some details:
> -> Admin
RewriteEngine On
RewriteRule ^robots\.txt$ /static/robots.txt [L]
I think that should work if you have a web served folder of /static
I forget if DH supports Alias
because
Alias robots.txt /path/to/robots.txt will also work.
On Feb 14, 1:24 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
When I go to /admin/ and login the screen just returns to the login
screen again with no errors or anything.
I have SESSION_COOKIE_DOMAIN set propperly as well and that didn't
help (the faq said it might).
I then tried using the built in server, and I ran that using the same
domain, but port
Hi Jarek,
Modifying django.core.servers.fastcgi.py was just what I needed to
find out where my "traffic jam" was.
I had an OperationalError from my sqlite3 database. I not only had to
update the permissions on sqlite3, but also on its containing
directory.
Worked like a charm. Hope this
I'm getting the dreaded:
Unhandled Exception
An unhandled exception was thrown by the application.
Whenever I try to access /admin on my app under nginx+fastcgi.
To be sure, I tried the development server on the same machine and /
admin/ gave me the django admin prompt as expected.
I'm
Malcolm,
It looks like i just found my solution:
http://automatthias.wordpress.com/2006/12/10/mysql-encoding-problems-on-dreamhost/
Apparently all the fields were encoded incorrectly.
On Feb 10, 9:44 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Sun, 2008-02-10 at 21:11 -0
Hi,
I have a legacy database that I've been using in a php app. In PHP
the fields would render as unicode just fine.
In my Django app I get:
PhamâEURO(tm)s
instead of the expected:
Pham's
This happens for accented characters everything.
I'm no good with unicode, it has usually "just
I have a legacy app with feeds:
/restaurant/{slug}/feed
so I defined in my urls.py:
feeds = {
'restaurant': MenuItems,
}
urlpatterns = patterns('',
# restaurant feed
(
r'^(?Prestaurant)/(.*)/feed',
'django.contrib.syndication.views.feed',
{'feed_dict':
24 matches
Mail list logo