Django: Error while importing URLconf 'django.contrib.admin.urls': No module named urls
(permalink)Read more here: http://code.djangoproject.com/wiki/NewformsAdminBranch
A blog about one man's thoughts on startups, economics, social issues, and college life.
OpenID is easier: http://openid.net/
If a user sees an auction ending in 1 minute but is then required to jump through some hoops before bidding - thats just as bad an experience.
I want to feel involved. Plus, if I'm using a website to the extent that I'm going to want a username and password I pretty much expect that I may have to fill out more information upon registration so it is not as bothersome.
By giving people random user names, you force them to do more work long term.
Step 1: Click the one button and get my user name Step 2: Go write it down somewhere Step 3: Cookie expires/is cleaned - now user forgets the random user name or email. Step 4: Go look it up, enter info



I've stumbled across a new sign-up process: one button. That's it. From now on, the user will only have to click a button on all of my new projects to sign up.
Labels: twitter
total 20K
-rwxr-xr-x 1 root root 88 Jun 5 04:18 svnstat
-rwxr-xr-x 1 root root 52 Jun 5 04:18 ulimit-tvf.sh
-rw-r--r-- 1 root root 53 Jun 5 04:18 ulimit.sh
-rwxrwxrwx 1 root root 53 Jun 2 01:54 ulimit.sh.bak
-rwxr-xr-x 1 root root 48 Jun 5 04:18 ulimit4.sh
lsof /dev/disk2s10
sudo umount -f /Volumes/Backup
from django.db import models
from django.contrib.auth.models import User
class UserProfile(models.Model):
karma = models.IntegerField(default=1, core=True)
url = models.URLField(default="", core=True)
user = models.ForeignKey(User, unique=True)
user = models.ForeignKey(User, unique=True, edit_inline=models.TABULAR, num_in_admin=1,min_num_in_admin=1, max_num_in_admin=1,num_extra_on_change=0)
AUTH_PROFILE_MODULE = 'core.UserProfile'
from django.contrib.auth.models import User
from project.core.models import UserProfile
from django.core.exceptions import ObjectDoesNotExist
def get_or_create_profile(user):
try:
profile = user.get_profile()
except ObjectDoesNotExist:
#create profile - CUSTOMIZE THIS LINE TO OYUR MODEL:
profile = UserProfile(karma='1', url='http://example.org', user=user)
profile.save()
return profile
user = User.objects.get(pk = user_id)
user.userprofile = get_or_create_profile(user)
user.userprofile.karma += 1
user.userprofile.save()
... procrastination paid my way through school. When you don't start studying for tests until a few hours before, you suddenly find yourself with a lot of time on your hands.
Labels: y combinator
#bluwiki
#elc
#startups
#python
#django
#arc
#gentoo
#debian
#bash
#rubycodejam
#lighttpd (these guys are especially friendly)
#friendly-coders
#gcj
From: AM
To: Sam Odio
Subject: hi i'm curious..
Hi,
I saw that you're doing SCIP - so then I looked up what a functional programming language was, and according to wikipedia functional languages "have largely been emphasized in academia rather than in commercial software development." But it notes that you can use it for commercial use as well. So are you doing it just to learn or is to serve some future practical purpose?
I was just wondering b/c I always want to know what the best language to learn is (not that I have much of an intention of learning any sort of functional programming after getting extremely confused by your progress tracking on bluwiki) and I also know that this is all based largely on personal preference, but i'm still curious....
AM.
From: Sam Odio
To: AM
Subject: Re: hi i'm curious..
my suggestion:
1) learn an object oriented language & framework (I'm doing pything w/ djano, you can also do ruby/rails or php/symfony)
2) learn functional programming w/ SICP if you want to get good (CLisp, scheme, arc)
#2 will take a lot of time, and yield few direct results. But it'll help you understand what is capable w/ programming. Long-term results, not short-term. If you want ONLY short-term results, learn php/symfony. PHP is not completely object oriented, but quick & dirty.
-s