|
ashgromnies posted:words Couldn't you use Middleware to do this?
|
# ¿ Mar 25, 2008 20:20 |
|
|
# ¿ Apr 30, 2024 01:08 |
|
I normally use Wing IDE Personal. There's supposed to be a way to integrate Django with it for Debugging and what not but i havn't really messed with it all since its easier to just debug with the dev server normally.
|
# ¿ Apr 9, 2008 02:52 |
|
jarito, you can use context to determine if the user is logged in or not, I can't think of the exact sytanx in my head right now, but the template code would be something like "If user.something (can't reacall the name, its in the docs though)" then {{ user.username }}, else, print your login block. You can either use a context processor to put a form object in the context of every page, a template tag, or manually code in a form.
|
# ¿ Apr 13, 2008 23:48 |
|
Why's there never any Django jobs near Philly !
|
# ¿ Apr 23, 2008 18:47 |
|
If you know python, the Docs are incredibly awesome and the tutorials get you 90% of the way there. If you don't know python, pick up a book on python.
|
# ¿ Apr 26, 2008 16:36 |
|
python is fairly easy to pick up to learn Django. The major differences between rails and Django is that Django tries not to assume anything, and instead want's you to specify more things. Rails is more "magic" where things just happen. The django tutorial is also really good. And it shows you the low level methods of doing things, then it shows you the shortcuts.
|
# ¿ Jun 27, 2008 01:48 |
|
webfaction seems to be decent for cheap hosting too.
|
# ¿ Jul 8, 2008 19:34 |
|
if you have contrib.admin just login via your admin pannel?
|
# ¿ Jul 11, 2008 08:13 |
|
or if your asking how to restrict it, there is a shortcut for that, uh i forget waht it is though.
|
# ¿ Jul 11, 2008 08:15 |
|
I typically use startproject. But keep all my apps on the python path. Then my apps are not tied to that particular project and are reusable.
|
# ¿ Jul 18, 2008 20:29 |
|
saiyr posted:Also, newforms-admin was merged to trunk 2 hours ago. oh snap i didnt notice this! Time to play
|
# ¿ Jul 19, 2008 03:41 |
|
|
# ¿ Apr 30, 2024 01:08 |
|
Does unique_for_month still work? I tried having a BooleanField set with unique_for_month="date" and also a CharField with choices and null/blank = True set to unique_for_month="date" and in both cases it allowed me to check the field twice or pick a choice twice.
|
# ¿ Nov 19, 2008 22:49 |