In this example, the AJAX functionality of django-threadedcomments and django-voting are exhibited, along with some of the presentational eye-candy easily achieved with jQuery.
Focus is the concept that with so many different trains of thought, you might actually want to just follow one specific thread. Focusing on one comment means that you see that comment and all direct replies to that comment, and everything else just fades away.
The barrier for entry on this is about as low as it could be acceptably made: Click register, type in a username and password, and click Register. You will then be registered and logged in. No confirmation e-mail, no validation, etc. In fact, there's no place to even enter your e-mail address.
Posted by ericflo
on Jan. 30, 2008.
Hello, World!
13
Posted by World
on Jan. 30, 2008.
What?! Why does everyone always say hello to me, and then disappear when I respond? It's quite degrading, actually.
-2
Posted by ericflo
on Jan. 30, 2008.
I'm...not really sure how to respond to you.
-5
Posted by macmichael01
on Feb. 10, 2008.
Test <b>Test</b> <strong>Test</strong>
2
Posted by macmichael01
on Feb. 10, 2008.
This is neat
2
Posted by macmichael01
on Feb. 17, 2008.
This is a test
-4
Posted by macmichael01
on Feb. 17, 2008.
Neato Neat Neat
-3
Posted by daniel
on March 24, 2008.
yes very well mondongo
1
Posted by daniel
on March 24, 2008.
dos
-1
Posted by naa
on March 26, 2008.
[Test](http://lib.ru)
0
Posted by naa
on March 26, 2008.
test
1
Posted by pippo
on March 26, 2008.
==prova adesso==
-1
Posted by pee
on May 3, 2008.
test
1
Posted by ssss
on May 6, 2008.
sfsdfsdf
0
Posted by qwerty_
on March 30, 2008.
test
0
Posted by qwerty_
on March 30, 2008.
test
0
Posted by admin
on April 6, 2008.
some
0
Posted by admin
on April 6, 2008.
something
0
Posted by tes
on April 17, 2008.
d
0
Posted by thauber
on Feb. 22, 2008.
You douche I'm totally flaming you.
-2
Posted by roba
on March 29, 2008.
right back at you thauber...
0
Posted by naa
on March 19, 2008.
test
-1
Posted by blahblah
on April 13, 2008.
blah blah blah
0
Posted by pjz
on April 28, 2008.
replies like this
0
Posted by ews
on Feb. 21, 2008.
this is another test (explanations on the tutorial aren't clear enough, btw!!!)
0
Posted by k4ml
on March 5, 2008.
test
-1
Posted by lninyo
on March 8, 2008.
this is nice.. is there a full reddit clone? somewhere? it would be easy enough to do...
0
Posted by elo80ka
on March 22, 2008.
Jabba jabba weeble wobble!! Feezil Beezil Weevil Wonk!!
0
Posted by naa
on March 26, 2008.
test
0
Posted by james
on Jan. 30, 2008.
This isn't a beginning programming assignment. I'm not sure why you chose to use this phrase. In my opinion, it's highly overused.
-10
Posted by miao
on Feb. 4, 2008.
this is a test
2
Posted by _RT_
on Feb. 5, 2008.
Hi, nigger!
-3
Posted by _RT_
on Feb. 5, 2008.
What?
1
Posted by miao
on Feb. 6, 2008.
what?????
-1
Posted by help
on March 5, 2008.
sdfsdf
0
Posted by help
on March 5, 2008.
sdfsdf
0
Posted by morlandi
on March 14, 2008.
xxxxxxxxxxx
0
Posted by morlandi
on March 14, 2008.
yyyyy
0
Posted by asdf
on Feb. 6, 2008.
asd
1
Posted by Jumann
on Feb. 8, 2008.
hello~~~
0
Posted by Jumann
on Feb. 8, 2008.
hello~~~
0
Posted by Jumann
on Feb. 8, 2008.
hello~~~
0
Posted by Jumann
on Feb. 8, 2008.
hello~~~
0
Posted by Jumann
on Feb. 8, 2008.
hello~~~
0
Posted by Jumann
on Feb. 8, 2008.
hello~~~
0
Posted by tony
on Feb. 23, 2008.
Test
0
Posted by dupa
on March 4, 2008.
blekot
1
Posted by jk46
on March 5, 2008.
just wanna see what's going on here.
0
Posted by jk46
on March 5, 2008.
asdf
0
Posted by jk46
on March 5, 2008.
aasdfasdf
0
Posted by jk46
on March 5, 2008.
just wanna see what's going on here.
0
Posted by ews
on March 5, 2008.
example of *markdown*
# miao
## miao miao
0
Posted by pippo
on March 26, 2008.
bel prog
0
Posted by testmd
on April 11, 2008.
hello!
0
Posted by testmd
on April 11, 2008.
reply???? does it work?
0
Posted by streamlinger
on April 16, 2008.
hello world
0
Posted by atest
on April 22, 2008.
World Hello
0
Posted by jonathansamuel
on April 24, 2008.
hello
0
Posted by kmmbvnr
on May 5, 2008.
hulyhuio
0
Posted by ssss
on May 6, 2008.
dasdasd
0
Posted by kevin
on Jan. 30, 2008.
This really isn't a Digg or Reddit clone. It's similar, but it's different from both of them.
4
Posted by ericflo
on Jan. 30, 2008.
I know. I wanted to code something similar enough to those apps to display parity, but with some added features (like Focus) which would demonstrate flexibility in the stack to do something different.
5
Posted by thauber
on Feb. 1, 2008.
Focus... sounds like a cool idea... kinda feels like I had that idea.
1
Posted by Joe
on Feb. 2, 2008.
good job !
-1
Posted by jtauber
on Jan. 30, 2008.
Is there any way to restore a vote to 0? If I vote up then down, it ends up a net -1
0
Posted by jtauber
on Jan. 30, 2008.
similarly, a vote down then up ends up a net 1.
I realise reddit has the same behaviour, but I find it annoying :-)
0
Posted by ericflo
on Jan. 30, 2008.
I'm working on a fix now. Django-voting supports clearing of votes, but I just forgot to implement it in my Javascript. I'll post here when it's fixed :)
2
Posted by ericflo
on Jan. 30, 2008.
OK it's fixed! It's a bit of a hackjob, but it's fixed. Click on the gray arrow now to un-vote.
0
Posted by ericflo
on Jan. 31, 2008.
Hmm, maybe it's not as fixed as I thought. Looks like I've got a bit more work to do...will report once it's working correctly.
2
Posted by niels
on Jan. 30, 2008.
Yo, what up?
3
Posted by hjhg
on Jan. 30, 2008.
sfsdf
-2
Posted by demo
on Jan. 30, 2008.
Great Job!
1
Posted by jojo
on Jan. 30, 2008.
Chilling out, having a bud.
-1
Posted by ericflo
on Feb. 10, 2008.
So I'm just testing this out to make sure that I didn't just break all the functionality.
1
Posted by ericflo
on Feb. 10, 2008.
test2
0
Posted by david
on Jan. 30, 2008.
Looks really interesting. Thanks!
5
Posted by david
on Jan. 30, 2008.
You can even vote for your own comment...
0
Posted by ciao
on Jan. 31, 2008.
Grande rappresentante della comunitá django in Italia!!!
-2
Posted by kllm
on Feb. 5, 2008.
Jeez, this is nice. I wonder who came up with the idea and all...
1
Posted by hello
on Jan. 30, 2008.
WEED TO THE WORLD!
2
Posted by rasiel
on Jan. 30, 2008.
testing
-2
Posted by rasiel
on Jan. 30, 2008.
testing akin
-2
Posted by buriy
on Jan. 30, 2008.
nice!
-2
Posted by ffff
on Jan. 31, 2008.
nm
-1
Posted by yodude
on Jan. 30, 2008.
testytestytestito
-1
Posted by yodude
on Jan. 30, 2008.
yo
-1
Posted by ffff
on Jan. 31, 2008.
nhbgv
-1
Posted by lucas
on Jan. 31, 2008.
neeto!
-1
Posted by foo
on Jan. 31, 2008.
Oh man...focus is great. jQuery you say? Javascript newbie you say? Perhaps I should get with the jQuerying....
0
Posted by lolo
on Jan. 31, 2008.
nice
1
Posted by thauber
on Feb. 1, 2008.
Jeez, this is nice. I wonder who came up with the idea and all...
2
Posted by testing2
on Feb. 2, 2008.
Thauber came up with focus :)
0
Posted by Joe
on Feb. 2, 2008.
tests good !
0
Posted by Joe
on Feb. 2, 2008.
tests good !
0
Posted by Joe
on Feb. 2, 2008.
tests good !
0
Posted by asdf
on Feb. 6, 2008.
drftgert
0
Posted by asdf
on Feb. 6, 2008.
drftgert
0
Posted by asdf
on Feb. 6, 2008.
drftgert
0
Posted by seamus_waldron
on March 19, 2008.
Hmm
0
Posted by zzz
on Feb. 8, 2008.
kkj
-1
Posted by xdissent
on Feb. 8, 2008.
Seriously. This is hideous. Excellent app, amazing code, but god this hurts my poor eyes. All developers should be assigned a designer at birth.
1
Posted by Jumann
on Feb. 15, 2008.
fdf
-3
Posted by test11
on Feb. 18, 2008.
Testestest
-1
Posted by Jumann
on Feb. 15, 2008.
fdf
1
Posted by Jumann
on Feb. 16, 2008.
test
1
Posted by test11
on Feb. 18, 2008.
Everyone's into green these days.
0
Posted by test11
on Feb. 18, 2008.
Everyone's into green these days.
-1
Posted by sergey
on Feb. 19, 2008.
**some text**
1
Posted by rtpm
on Feb. 25, 2008.
test
1
Posted by rtpm
on Feb. 25, 2008.
reply
1
Posted by help
on March 5, 2008.
dd
0
Posted by lninyo
on March 8, 2008.
bah humbug!
1
Posted by lninyo
on March 8, 2008.
test 1
2
Posted by lninyo
on March 8, 2008.
monkey monkey
1
Posted by daniel
on March 20, 2008.
no creo
0
Posted by daniel
on March 20, 2008.
1111111
0
Posted by abcde
on March 15, 2008.
yeah yeah
0
Posted by daniel
on March 20, 2008.
Muy buen trabajo, Hombre!!!
0
Posted by qwerty_
on March 30, 2008.
test
0
Posted by qwerty_
on March 30, 2008.
test
-1
Posted by kmmbvnr
on April 11, 2008.
тест
2
Posted by kmmbvnr
on April 11, 2008.
тест
-1
Posted by jnojno
on May 15, 2008.
jno jon
0
Posted by kmmbvnr
on April 11, 2008.
ролролд
-1
Posted by abcd
on April 13, 2008.
1
Posted by streamlinger
on April 16, 2008.
What's up here. where is my post
0
Posted by testing3
on April 23, 2008.
teating
1
Posted by testing3
on April 23, 2008.
teating
0
Posted by testing3
on April 23, 2008.
I meant testing
0
Posted by mosburger
on April 30, 2008.
Can I get the source for this example? :)
0
Posted by jnojno
on May 15, 2008.
jnojno
0