I'm not sure why I'm getting this error when the module and view are
right where they should be.
Traceback:
File "/usr/lib/python2.6/dist-packages/django/core/handlers/base.py"
in get_response
83. request.path_info)
File
I'm trying to do the same thing but I'm having problems getting nginx
to server over https. I removed all 443 references for apache and
added them to my nginx/sites-available/domain.com, so I have a
declaration for static content listening on port 80 and then another
for ssl on 443. I'm totally
I was interested in finding out how I would go about accessing django
vars in my javascript file i.e., media_url within javascript. Do I
need to use a serializer to achieve this?
Thanks,
Jason
--~--~-~--~~~---~--~~
You received this message because you are
I think I'm ready to finally switch to a django vps host due to
problems with django on DreamHost. Can anyone recommend a good vps
host?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
I'm trying to use passenger_wsgi on Dreamhost and keeep getting 'An
error occurred importing your passenger_wsgi.py'. I think I've located
the syntax that is causing the problem but I don't know how to resolve
it and Dreamhost doesn't offer any assistance for this.
import sys, os
INTERP =
I've created my virtual environment but I can't figure out where I can
put a symlink for django-admin.py. I tried my virtualenv/bin/ but that
doesn't work and, due to the shared hosting, I don't have access to /
usr/local/bin/.
Thanks,
Jason
--~--~-~--~~~---~--~~
Is there any benefit to using {% url %} other than retrieving data
from the same view? I was looking for a better way to make a
breadcrumb menu than hard wiring the urls into every page and came
across the {% url %} tag and this post:
I had this problem when I started developing this project (my first)
on my server space at Dreamhost, so as suggested by a forum member I
began developing on my local machine with the django dev server. Why
is it that changes made to templates are not reflected upon restarting
the server or
When I make changes to templates they are not showing up upon refresh
or restarting the test server, any ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Hello,
Do I need t convert the value returned from Max() to an int, or am I
using it incorrectly? I'm getting this template error:
Caught an exception while rendering: (1064, "You have an error in your
SQL syntax; check the manual that corresponds to your MySQL server
version for the right
Hello,
I'm having trouble overriding save() to change the upload_to attribute
of a FileField object. I would like the upload_to attribute to change
depending on which user is selected from the select menu i.e., if user
testuser24 is selected the upload_to would change to
Hello,
I'm trying to build a photo upload path which corresponds to the
selected user i.e., when the user is selected from the drop down the
username gets appended to the file upload path dynamically. If you
have any ideas I would like to hear them:
class Listing(models.Model):
user =
Hello,
I'm trying to use mkdir to automatically create a user directory upon
successful account activation. I'm attempting to use a try except to
catch any error but I don't think I'm using it correctly. Thanks for
any help.
if SHA1_RE.search(activation_key):
try:
Hello,
I'm getting this error when trying to send mail: (61, 'Connection
refused'). which global vars do I need to set and what do I need to
set them to in order to send mail from my local machine? do I just
need to change the defaults for EMAIL_HOST and EMAIL_PORT?
Thanks,
Jason
I've been trying to figure out why modifications made to forms and
views have no effect on the app they belong to. I'm using django-
registration and wanted to add some additional fields to the
registration form but any changes I make, including deleting forms.py
or views.py, has no effect on the
I'm using django-registration and don't understand why changes made to
form and views are not reflected in the browser, even after deleting
the referenced forms and views. I tried adding more form fields to the
registration form and the changes would never show with touch
dispatch.fcgi, so I
Hello,
I'm trying to make changes to views and forms but when I refresh the
browser to view/try the changes nothing seems to have changed. I
normally do "touch dispatch.fcgi" which is working with templates and
urls but with views and forms I get nothing different. I tried other
browsers and
Hello,
I have an Employee profile associated with Users who are staff, how do
I return the associated user attributes from within the profile model
i.e., 'full_name' from Users? Anytime I try to access the User
attributes from within the profile class I get errors: Cannot resolve
keyword
Hello,
I'm working on my first project and for some reason I keep getting
"Error: App with label orders could not be found. Are you sure your
INSTALLED_APPS setting is correct?". I've verified this many times by
creating dummy apps and running sqlall for them, which works for
everything but an
Hello,
I'm new to django/python and I'm trying to use django-registration in
my first app but I'm having problems rendering the activation_key in
the email message i.e., the email_message.txt file passed as the first
argument to render_to_string() will render it's own content but the
dictionary
Hello,
Looking at the code for the create_inactive_user method of
models.RegistrationManager it looks like the activation key is auto
generated and appended in the message sent to the user, however, the
only portion of the message sent is the 'activation_email.txt' file.
How do I get the rest of
Hey,
does anyone know why I'm getting a "Exception Type:
SMTPRecipientsRefused" error using django-registration?
Exception Type: SMTPRecipientsRefused
Exception Value:
{u'neri...@gmail.com': (504, ': Sender address
rejected: need fully-qualified address')}
Hello,
I just started my first django project and I'm not sure how to print
the errors from non_field_errors(). Here is the snippet from
registration.forms.py:
def clean(self):
"""
Verifiy that the values entered into the two password fields
match. Note that an error
Hello,
I successfully set up django-registration on my local machine to the
point of being able to load a url and attempt to load the template.
However, I'm trying to set it up on Dreamhost and keep getting "An
unhandled exception was thrown by the application." The only thing I
had to do
Hello,
I successfully set up django-registration on my local machine to the
point of being able to load a url and attempt to load the template.
However, I'm trying to set it up on Dreamhost and keep getting "An
unhandled exception was thrown by the application." The only thing I
had to do
Hello,
I installed python 2.5.4 using macports and edited my .profile by
adding:
export PYTHONPATH=/opt/local/var/macports/sources/rsync.macports.org/
release/ports/lang/python25:${PYTHONPATH}
...which wasn't reflected in the shell when env was run, so I tried:
export
Hello,
It seems like there should be a built-in register view since there's
already login, logout, etc. as well as a UserCreationForm, is there a
register view located somewhere?
Thanks,
J
--~--~-~--~~~---~--~~
You received this message because you are
Hello,
How do I keep a relative url to my media directory? When I go to any
other view besides the index view i.e., example.com/studio/,
example.com/services/, etc, the images defined in my base.html
template are missing. I have a "media" symlink in my document root
that points to my media
Hello,
I'm trying to map a simple url to a view but keep getting: "No module
named current_datetime" when the view is defined in the views.py
file.
Here is urls.py:
from django.conf.urls.defaults import *
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
29 matches
Mail list logo