I'm trying to get sitemaps configured properly for http://newsley.com,
but I'm having weird issues with the URLs that are being created for
the sitemaps.xml on my production server. e.g. http://newsley.com/sitemap.xml
When I run the code on my development server, using ./manage.py
runserver, the
I'm using Gmail to manage as my email provider:
http://www.mangoorange.com/2008/09/15/sending-email-via-gmail-in-django/
It works with Google apps for your domain, too. So you can use
my_n...@my_domain.com if my_domain.com is set up with Google apps.
Best,
J
On Dec 27, 12:50 am, vishy wrote:
>
Thanks, I'll give it a shot.
J
On Jun 4, 8:06 am, Alex Gaynor wrote:
> On Thu, Jun 4, 2009 at 7:37 AM, Jonathan Nelson wrote:
>
>
>
>
>
>
>
> > I'm trying to add a feedreader element to my django project. I'm
> > using Mark Pilgrim's gr
I haven't used the form wizard, but it seems like your forms are in
...templates/wha/
Django is looking for your form at
...templates/wha/forms/wizard.html
you have them in
...templates/wha/contact/forms/wizard.html
try adding
...templates/wha/contact/forms
or
...templates/what/contact
to your
I'm trying to add a feedreader element to my django project. I'm
using Mark Pilgrim's great feedparser library. I've used it before
without any problems. I'm getting a TypeError I can't figure out.
I've tried searching google, bing, google groups to no avail.
Here's the dpaste of what I'm tryi
I just figured it out.
Instead of using a decorator, I just used this:
def myview(request, comment_id):
...if not request.user.is_authenticated():
..return HttpResponseRedirect('/login/?next=%s') % request.path
On Jan 27, 11:57 am, Jonathan Nelson wrote:
> I'm trying
I'm trying to decorate a view function with login_required. I want
the user to be redirected to the current view after they log in.
I'm trying:
@login_required(redirect_field_name=request.path)
def myview(request, comment_id):
return render_to
but, I'm getting a "NameError: name 'reque
rent.right:
node.left += 2
if node.right >= parent.right:
node.right += 2
node.save()
# a new node is created with correct left/right values
Comment.objects.create(
text = text,
left = parent.right,
right = parent.right+1)
I'l
ng my own, then I discovered Django (so have started
> "porting" my site to Django), then I discovered the mptt app and thought I
> could just drop it in. Has not been that easy (probably in large part due
> to my Django-newbie
> status).http://www.sitepoint.com/article/hiera
I'm actually rolling my own threaded comments system using an MPTT
algorithm. Contrib.comments and the django-mptt aren't a really good
fit for what I need.
It's taken me a while to get my head around the concept of traversing
the tree using the comment.left and comment.right values, but after
y
If it's any consolation, I've had the the same bugs. I kept getting
the same reverse lookup function error whenever I tried to render the
comments form. I looked through all my comments directories, and
deleted all .pyc files. I finally got rid of all my reverse()
problems after I searched my e
Hello. I think I'm up against a bug in the new comments app. I could
be wrong.
I just deleted my old install and installed 1.0 this morning. I don't
know if that has anything to do with it or not.
I looked at this thread:
http://groups.google.com/group/django-users/browse_thread/thread/2012bd
I just wanted to let people know that the get-together is still on, if
people are interested.
There's more information here: http://django.meetup.com/3/
Let me know if you have any questions.
Jonathan
On Aug 20, 9:22 pm, Jonathan Nelson <[EMAIL PROTECTED]> wrote:
> I
Look at the import statements on the different urls.py files.
This:
from myproject.myapp import myview
urlpatterns = patterns('',
(r'^somepattern/', myview))
Does the same thing as this:
urlpatterns = patterns('',
(r'^somepattern/', myproject.myapp.myview))
On Aug 21, 8:5
I'm planning a get together the night before DjangoCon for people
going to the conference. I figured it would be nice to get to know
each other a bit better before sitting in a conference together all
weekend.
I'm assuming that most people are going to be staying at the Hotel
Avante where the bl
15 matches
Mail list logo