Rebooted my server and started working for no reason. Don't know what
was going on.
On Dec 16, 8:25 pm, Malcolm Tredinnick
wrote:
> On Tue, 2008-12-16 at 13:22 -0800, prem1er wrote:
> > Just walked through this
> > guidehttp://docs.djangoproject.com/en/dev/ref/contrib/fla
Just walked through this guide
http://docs.djangoproject.com/en/dev/ref/contrib/flatpages/?from=olddocs
to get a flatpage working on my site. After trying to access my admin
page I am now getting an error while trying to log in.
In template /home/dev/djprojects/afterthebeep/djTemplates/admin/
b
Didn't know about this. Where do I set the EMAIL_HOST parameter?
On Dec 15, 1:35 pm, "Karen Tracey" wrote:
> On Mon, Dec 15, 2008 at 1:01 PM, prem1er wrote:
>
> > Hey everyone,
> > I'm trying to create a registration page on my website using Django
>
Hey everyone,
I'm trying to create a registration page on my website using Django
forms. I just realized that I needed to install a mail server in
order to send confirmation messages to my users through the forms.
What type of setup is everyone using for this? i.e. Postfix + mutt.
Thanks in a
w00t. Thanks. After a bunch more import statements I finally got it
working. Thanks again!!!
On Dec 9, 4:22 pm, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Dec 9, 9:12 pm, prem1er <[EMAIL PROTECTED]> wrote:
>
> > Still no luck. I have this line added to the top
Still no luck. I have this line added to the top of views.py.
from xxx.register.forms import ContactForm
It can't seem to find forms 'No module named forms'.
On Dec 9, 3:45 pm, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Dec 9, 8:43 pm, prem1er <[EMAIL PROTECT
Thank you. That cleared that up. Now getting the error. "global name
'ContactForm' is not defined" in my 'views.py' file. Any ideas?
On Dec 9, 3:35 pm, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On Dec 9, 8:23 pm, prem1er <[EMAIL PROTECTED]> wrot
Trying to follow along with the Form Tutorial on the Django site and
I'm running into a problem. I keep getting the error page 'module'
object has not attribute 'ContactForm', when I just simply copy and
pasted the code from the tutorial into my models.py. Here is my
source. I feel like it has
Just wondering where everyone is developing there pythong code?
Anyone using development environments, if so which one?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
Ok, I figured that one out. I should be writing to within my Django
project. How would I get this to work with apache permission?
On Nov 17, 8:51 pm, prem1er <[EMAIL PROTECTED]> wrote:
> Trying to write an image to my server for a user. I keep getting the
> error 'Su
Trying to write an image to my server for a user. I keep getting the
error 'SuspiciousOperation, Attempted access to '.../' denied. I
tried adding read write and execute permissions to this directory and
still no luck.
from django.db import models
class user(models.Model):
avatar
I mean, yes they are always there, but I always like a good physical
reference. I have experience in OO languages, but not much server-
side programming just a little ASP .Net.
On Nov 17, 3:09 pm, bruno desthuilliers
<[EMAIL PROTECTED]> wrote:
> On 17 nov, 20:53, prem1er <[EMA
Just trying to figure out what the best book to purchase for a
newcomer to Django and python. Thanks for your suggestions.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
Trying to mess with the styling of the polls view from the tutorial.
Where is it reading it's CSS from? Or where is it 'extending' its
style from. I tried to incorporate a CSS sheet from within that
directory and it wouldn't read it. It would only read HTML that I
placed in the document itself.
Overlooked that. AMAZING thank you thank you!
On Nov 12, 4:36 pm, Brian Neal <[EMAIL PROTECTED]> wrote:
> On Nov 12, 3:32 pm, prem1er <[EMAIL PROTECTED]> wrote:
>
>
>
> > Still having a problem from the other day. I can't get the media (css
> > + ima
Still having a problem from the other day. I can't get the media (css
+ images) to show up on my admin pages after I moved it over to
Apache. I tried a sym link from /home/dev/Django-1.0/django/contrib/
admin/media/ to /home/dev/djprojects/xxx/media (my site root) and
still no luck. I have also
^
> could be that extra slash. i assume you reloaded apache after the change?
>
> keith
>
> On Tue, Nov 11, 2008 at 2:55 PM, prem1er <[EMAIL PROTECTED]> wrote:
>
> > Still no good. Is this what you wanted me to do?
>
> >
> > ServerNamewww.dev.
ps to where the
> admin media files are. Like so:
>
> Alias /media /home/dev//Django-1.0/django/contrib/admin/media
>
> keith
>
> On Tue, Nov 11, 2008 at 2:15 PM, prem1er <[EMAIL PROTECTED]> wrote:
>
> > This is the location of my css files. /home/dev//Django-1.0/
This is the location of my css files. /home/dev//Django-1.0/django/
contrib/...
On Nov 11, 1:49 pm, prem1er <[EMAIL PROTECTED]> wrote:
> Just got django to work on apache thanks to everyone on this group.
> After I switched, I can no longer get the CSS to work with the admin
&
Just got django to work on apache thanks to everyone on this group.
After I switched, I can no longer get the CSS to work with the admin
page or the 'polls' from the tutorial. Here is my apache config.
When I run the same site from my localhost on django's server
everything is fine.
ServerN
Hey everyone, thanks for all your help.
I'm currently able to get django running now on apache. But the style
sheets aren't working so I'm guessing I have the paths wrong somewhere
in my apache config. Anyone see a problem? I feel like it has to do
with
PythonOption django.root /
When I have
v.xxx.usadmin
There is no trailing '/' between the subdomain and the admin
parameter.
On Nov 10, 4:06 pm, Brandon Martin <[EMAIL PROTECTED]> wrote:
> On Mon, 10 Nov 2008 12:55:44 -0800 (PST), prem1er
>
>
>
> <[EMAIL PROTECTED]> wrote:
>
> > Ok this i
it have syntax errors?): No module named mysite.settings
I understand that mysite.settings is supposed to be the location of my
settings.py, but is it just supposed to be the path of that file?
On Nov 10, 3:32 pm, prem1er <[EMAIL PROTECTED]> wrote:
> Thanks for your replies everyone. I'
Thanks for your replies everyone. I'm looking into it more now and
will let you know if I have any other questions.
On Nov 10, 8:44 am, Brandon Martin <[EMAIL PROTECTED]> wrote:
> I would just like to note here that when I first installed django with
> apache and mod_python most of the problem I
Ok. But are the configuration lines any different or will they
change. If anyone has a good tutorial written could you please post
it. Also, What does this line mean ?
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
Thanks.
On Nov 9, 11:56 pm, "DULMANDAKH Sukhbaatar" <[EMAIL PROTECTED]>
wrote:
Thank you, but as I've mentioned I have tried to follow these
instructions and have had no luck. Why is it instructing me to
configure my httpd.conf file when my sub domain exists in sites-
available/sites-enabled? I know that mod_python is working because I
set up a test .py file that displays
Hey everyone,
I'm new to django and python, but I have just completed the
tutorial with everything up and running correctly. I'm trying to move
django over to apache for further development at dev.mysite.com. I
have have looked at the documentation on the django site and also at
others from a
27 matches
Mail list logo