User Controls
Thanked Posts by Sophie
-
2017-03-17 at 8:22 PM UTC in Polls
class PollForm(ModelForm):
class Meta:
model = Poll
Poll form.
class ChoiceForm(ModelForm):
class Meta:
model = Choice
fields = ('choice',)
Choice form.
def index(request):
return render_to_response('index.html', context_instance = RequestContext(request),)
This goes in index.py
url(r'^$', 'poll_tutorial.polls.views.index', name = 'index'),
This goes in urls.py
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Poll Manager Home</title>
</head>
<body>
<p>Welcome!</p>
<p><a href="{% url polls %}">View Polls</a></p>
<p><a href="{% url add_poll %}">Add a poll</a></p>
</body>
</html>
Here is our template.
It took me literally 5 minutes to find this code. This is Python, this is Django, 100% compatible with forum sauce, it will probably need some tweaking. Look at the source for ISS on Github, figure out where these pieces of code should live and fork ISS over. Add your changes and go to the original ISS page to submit a pull request. Lanny will be with you shortly. -
2017-03-18 at 5 AM UTC in Transhumanism and you!
Originally posted by DocFoster Just your brain though? Why not your whole body? Imagine the possibilities! Why stop there? What is keeping you from that next step?
That's what the nanobots are for. They will keep my body viable for as long as possible then replace it with mechanical parts. That'd be pretty dope. -
2017-03-18 at 5:45 AM UTC in The smoking thread ; fuck scrawny smoked the second one edishun
-
2017-03-18 at 2:08 AM UTC in teh retraded thred herppppp slober fuk glum editshin
Originally posted by mmQ The flowing cringe river is steadfast in its ways, eroding our thoughts and minds with a theatrical manner, false yet entirely real, and as a man not having found yet my destiny within the winds of time, I must evolve with the decay and let the cringe become my essence, become my all.
Even though aesthetically, dread invoking, the learned men of Nurn knew one thing and they knew it well. Their manuscripts teach us, nay, implore us to seek the essence of the cringe, in all it's forms, and all of it's invocations. -
2017-03-18 at 5:24 AM UTC in Transhumanism and you!
Originally posted by cerakote not nihilism, just an inherent lack of value to my life
every time i listen to a sermon on saturdays with my dad i get this faint hope that maybe im wrong but when its said and done and monday rolls around, i get to spend the whole day feeling like a fly on the wall while my peers are doing their normie shit
Ahh normies. Try not to be too concerned with what your normie peers are doing, they are unremarkable in every sense of the word. -
2017-03-18 at 5:30 AM UTC in Sophie is a pedophaggit
-
2017-03-18 at 5:28 AM UTC in Transhumanism and you!
Originally posted by Dargo Yeah, not to be dismissive, but a large part of it is just your age, cerakote. Most people go through a phase like that at some point or another.
Basically. Like i've told you before, in a couple years all this angsty mess inside your brain will settle down a bit and you'll do much better. -
2017-03-18 at 5:29 AM UTC in Transhumanism and you!
-
2017-03-18 at 3:52 AM UTC in Sophie is a pedophaggit
Originally posted by mmQ Are they going to haxx the external hard drive not connected to my lappy?
No they'll convince you that it's fine you can totally trust them to not share the pictures with anyone, real deal, promise. Then they fuck you, in the asshole, with a can of mace, and they spray some mace into your rectum for good measure. -
2017-03-18 at 3:32 AM UTC in DEMOGRAPHICS and HOBBIES
>Job?
>Hobbies/interests?
>Ethnicity?
>Education level?
>Political stance?
>Criminal record?
>Drugs of choice?
>Goals?
>Age?
STEM
STEM
MASTER RACE(White)
College
AnCap, but practically speaking, libertarian
Oh fuck yes.
Opioids, i prefer Oxycodon.
Be happy
12/f/Tallahassee -
2017-03-18 at 3:19 AM UTC in teh retraded thred herppppp slober fuk glum editshin
-
2017-03-18 at 2:49 AM UTC in stabbing all ur bisters wif a scalpelI thought you misspelled "sisters" for a second.
-
2017-03-18 at 2:50 AM UTC in Lanny is a real piece of work/shitThe Mountains Goats. Too real tbh fam.
-
2017-03-17 at 8:26 PM UTC in Joe's in fucking Canada..
-
2017-03-17 at 11:12 PM UTC in Kill whitey
-
2017-03-17 at 11:09 PM UTC in Happy Saint Patties Day
-
2017-03-16 at 7:10 PM UTC in Site Updates: Temporary Bans and Tracking
Originally posted by Lanny So I got an email because processes were choking because of a lack of disk space. I assumed I fucked something up with page tracking and it was dumping too much data in the the DB. Nope, it's sitting at a healthy 300 and change MB. So some digging and I see my pagefile is maxed out at 4GB which is something I need to investigate but that's still like only a quarter of the disk accounted for. Turns out like 10GB are tied up in log files. Part of this is my fault for not setting up rotation and overlogging a bit BUT that's still an insane amount of data in log files, especially the access logs which are pretty brief.
I looked up the usage data gathered in the last three days to see if this makes sense and in that timeframes we've had 15,473 page views. Some of that is going to be spiders (this place is basically spiderheaven after all) but 13,136 of those requests were generated by authenticated users which like damn, that's not bad. I mean that's tiny on a commercial scale but it's a lot less dead than I remember this place being last year.
So thanks for playing space niggas
That's just me auto-rotating proxies every 10 minutes while keeping my NIS tab open for days on end. -
2017-03-17 at 6:16 AM UTC in teh retraded thred herppppp slober fuk glum editshin
Originally posted by cerakote that isnt the case with me
i came home from work the other night, showered, and went to lay down and beat my dick before bed. when i went to get my cumrag i noticed the drawer it was in was fucky. paid it no mind. ff to the next morning. go to the tobacco store, buy a can of grizzly and a pack of zigzags, and pull out the drawer to get my weed. its gone. my grinder, my box i kept my bag of enhancements in, empty pill bottles, etc. just fucking gone. my dad still hasnt said anything to me about it and its been 3 days
Tell the fucker to give your fucking drugs back. -
2017-03-17 at 5:27 AM UTC in dont drink and drive today.
-
2017-03-16 at 7 PM UTC in Intellectual Conversation