Problem with Django Project

22 views
Skip to first unread message

cmac0tt

unread,
Jun 1, 2012, 4:47:05 AM6/1/12
to Django users
Learning Django/Python by converting a warped >0.96 project to a 1.4
project with python 2.7.3

So this is my github to make it easier. Can anyone tell me what it is
thats causing me to keep chasing errors around? I fix one to find
another, then another, then another. I'm curious if i'm on the right
track here or just basically bouncing myself around, and if I am then
is there any pointers anyone has.

git://github.com/cmac0tt/wikicamp.git

thank for the help. Note my current error is:

ValueError at /wikicamp/create/

The view wikicamp.wiki.views.view_page didn't return an HttpResponse
object.

bruno desthuilliers

unread,
Jun 1, 2012, 9:38:54 AM6/1/12
to Django users
On Jun 1, 10:47 am, cmac0tt <corey.macdon...@gmail.com> wrote:
> Learning Django/Python by converting a warped >0.96 project to a 1.4
> project with python 2.7.3
>
> So this is my github to make it easier. Can anyone tell me what it is
> thats causing me to keep chasing errors around?

Just a suggestion : "failure to follow the official tutorial" ?

Now learning a framework takes some time, and porting code from one
framework to another can be error prone - you usually pay more
attention (and have less code needing attention at one given moment)
when writing new code than when modifying existing one.

> I fix one to find
> another, then another, then another. I'm curious if i'm on the right
> track here or just basically bouncing myself around, and if I am then
> is there any pointers anyone has.
>
> git://github.com/cmac0tt/wikicamp.git

Some web-browsable link would have been more helpful (sorry, I'm not
going to clone your repo).

> thank for the help. Note my current error is:
>
> ValueError at /wikicamp/create/
>
> The view wikicamp.wiki.views.view_page didn't return an HttpResponse
> object.

A view (wether function or class-based) is supposed to return an
HttpResponse (or subclass of), either directly or via a call to a
shortcut helper function (like render() or render_to_response()). Your
wikicamp.wiki.views.view_page function (following Python naming
conventions I assume it's a function) obviously returns something else
but since you didn't post the traceback we can say much more. If you
want more help about this particular view, please post the snippet.

willfe

unread,
Jun 2, 2012, 12:13:31 PM6/2/12
to django...@googlegroups.com
On Friday, June 1, 2012 9:38:54 AM UTC-4, bruno desthuilliers wrote:
On Jun 1, 10:47 am, cmac0tt <corey.macdon...@gmail.com> wrote:
> git://github.com/cmac0tt/wikicamp.git

Some web-browsable link would have been more helpful (sorry, I'm not
going to clone your repo).
 
I think that's just https://github.com/cmac0tt/wikicamp ... I get a browsable repository view when browsing there.

cmac0tt

unread,
Jun 8, 2012, 11:25:46 PM6/8/12
to Django users
it is just a browsable repo, you dont need to clone it.



On Jun 2, 12:13 pm, willfe <wil...@gmail.com> wrote:
> On Friday, June 1, 2012 9:38:54 AM UTC-4, bruno desthuilliers wrote:
>
> > On Jun 1, 10:47 am, cmac0tt <corey.macdon...@gmail.com> wrote:
> > > git://github.com/cmac0tt/wikicamp.git
>
> > Some web-browsable link would have been more helpful (sorry, I'm not
> > going to clone your repo).
>
> I think that's justhttps://github.com/cmac0tt/wikicamp... I get a
Reply all
Reply to author
Forward
0 new messages