I am using django 1.1 on windows XP. I run the development server from
the command line. Most of the time things work fine.
But at seemly random times, I can no longer connect to the development
server. On chrome, I get:
"Oops! This link appears to be broken."
with other browsers, I get similar
ve recently create an app for advanced view caching. It allow pages
> to be cached based on anything in request, specific cookies for
> example.
> Please checkhttp://bitbucket.org/kmike/django-view-cache-utils/wiki/Home
>
> If you have any questions about it feel free to ask.
>
>
Hi,
I have been successfully running a multi-language site for a while
now. The users language pref is stored (along with other data) in a
cookie.
Recently, I have been trying to cache some of the more common and
processor intensive views. Since the language code is not in the url,
I can't figur
Hi,
Sorry for not giving more details. I did not want to get into my code
as much as I was hoping to find out more about how the dev server
might differ from the command line.
I was using the pod module (http://code.google.com/p/pickled-object-
database/) in addition to mysql.
It turns out that
Hi,
I have a snippet of code that runs fine as a standalone program. But
when I incorporate it into a view and access that view w the
development server, the snippet no longer works.
What is the difference between the python interpreter and the
development server?
Thanks,
Chuck
--~--~-
>
> ALTER TABLE ENGINE=INNODB;
>
I changed all my tables to InnoDB. That seems to have solved the
problem. Thanks for the suggestion.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
Hi,
I have been using django for about a year and a half. It has been
great. My hat is off to all the developers.
I am trying to port my project to django 1.0 for 0.97. I am using
MySQL. The ported version seems to be working well.
The problem is that am trying to add a new model that contains
Problem solved - I am using the multilingual module. Although I
uploaded the version that is needed for django 1.0, my path was still
pointing to the old version.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Djang
On Sep 25, 1:10 pm, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Sep 25, 5:42 pm, cwurld <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I am trying to upgrade my site from 0.97 to 1.0. When I use the
> > command:
>
> > python manage.py runserver
Hi,
I am trying to upgrade my site from 0.97 to 1.0. When I use the
command:
python manage.py runserver
I get the error:
Error: cannot import name connect
Any ideas how to resolve this?
Thanks,
Chuck
--~--~-~--~~~---~--~~
You received this message because you a
I doubt that would be the cause, given that the module it cannot load
changes from crash to crash.
I was wondering if it could be some sort of timing issue. Maybe the
server times out while looking for the file. Or maybe the file is
temporarily locked? I am grasping at straws here...
--~--~-
Hi,
My site has recently starting generating a lot of HTTP Error 500's.
The traceback is always:
ImproperlyConfigured: Error importing request processor module xxx:
"No module named yyy"
where xxx and yyy are random modules. I know these modules are present
and working correctly. Most of the ti
I tried the newforms-admin branch - it did not solve the problem. I am
now back to revision 7776 of the trunk.
I think the problem is in the documentation. It seems like you must
add a "get_manipulator_field_objs" method to your customized class.
For example, I added:
def get_manipulator_field_o
opps - my mistake. The include file was not unicode encoded in utf-8.
It actually was ascii with chars above above 127 making up the Spanish
chars. When I converted it to unicode utf-8 all worked as expected.
Chuck
--~--~-~--~~~---~--~~
You received this message be
http://www.webfaction.com/
They are amazing and reasonably priced. Their support is great. They
have exceeded my expectations many times.
Chuck
On Nov 21, 7:40 am, "Ronaldo Z. Afonso" <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> Can anybody recommend me a Django Web Hosting Service?
> Thanks.
>
>
Hi,
I have a block of text that I load into a webpage using an {%
include %} tag. I have two versions of the include file. One in
English, the other in Spanish. I have no problem loading either one.
However the Spanish characters in the Spanish file are not displayed
properly.
I tried putti
I do my development locally on windows xp. When things are the way I
want them, I upload the code to a linux based shared server.
Occasionally, even thought the code works locally, it breaks the live
site. This would be much less of a problem if I could display a static
page describing to the use
Here is the answer I was looking for: http://www.djangosnippets.org/snippets/62/
I post it here to save others the time it took me to find this.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
Hi,
I am trying to implement the code in the django docs called:
Authenticating against Django's user database from Apache
I am not having much luck. The field req.user that is sent to the
mod_python module is always empty.
Do I need to put an .htaccess file into the dir that I am trying to
pro
Does anyone know how the SESSION_EXPIRE_AT_BROWSER_CLOSE works? In
other words, how does the Django session know the browser closed? It
seems like this mechanism could be used to accomplish the above.
Chuck
--~--~-~--~~~---~--~~
You received this message because
Hi,
In order for users to use my Django site they must login. I am using
the standard auth app. I set the session to expire when the browser is
closed or when the user clicks a log out button.
I would like to find a way to prevent users from simultaniously
logging in from different computers but
HandlerDispatch
result = object(req)
File
"/home2/cwurld/lib/python2.4/django/contrib/auth/handlers/modpython.py",
line 33, in authenhandler
user = User.objects.get(**kwargs)
File "/home2/cwurld/lib/python2.4/django/db/models/manager.py", line
67, in get
return self.
Hi,
I am trying to implement "Authenticating against Django's user database
from Apache" from
http://www.djangoproject.com/documentation/apache_auth/ . The problem I
am running into is that the username attribute in the request is set to
None. This causes the authentication to fail because when
Hi,
I was reviewing the code for two different ways of serving static
webpages:
1) verdjnlib templatepages ( http://www.verdjn.com/wiki/TemplatePages )
2) django static pages (
http://www.djangoproject.com/documentation/static_files/ )
and i can't see much difference between these two methods
Hi,
Does this make sense? I wanted some code to cycle thru some banner ads.
I could have done it with dojo doing a callback to my view, have my
view send the image path and the corresponding url, but that seemed
like a lot of activity for such a simple process.
Instead, I generated the javascrip
Hi,
I just posted a simple app, on the Django wiki, for printing debug
messages in the production environment. I know that bugs are supposed
to be worked out prior to that, but for a newbie like me, it never
seems to work out that way.
The link is:
http://code.djangoproject.com/wiki/SimplePrint
So when one says "Serve from Django" does that mean use the "view
django.views.static.serve"?
The documentation says that is not secure. Does anyone know what the
security risk is?
Thanks,
Chuck
--~--~-~--~~~---~--~~
You received this message because you are su
Thanks for all your replies. I can get things working the way you
recommend, but I am concerned with the way it forces me to separate
parts of my apps and it seems to create unnecessary complexity.
I think it is important to distinguish static items based on size. My
css files tend to be very sm
Hi,
I don't understand why css files are special in django. If I have a
template that contains inline style commands, nothing special needs to
be done. But if I put those same commands in a separate file, now that
file needs to be in a special location that needs to be handled by some
special co
Hi,
I am working on my first Django powered website. I am concerned about
how to modify apps after the site has gone live. For example, I have
created a model that contains a class based on the Django Auth User
class. Lets say that I go live and have 10,000 users in the db, then I
decide I want t
30 matches
Mail list logo