That would be great. I think it would a strong benefit to many django
users as search is such a common problem.
On 12/31/05, Michael Hipp <[EMAIL PROTECTED]> wrote:
> I'm hoping to convince my current hosting provider (zipa.com) to support
> Django. (Switching providers would be a pain right now.) What would I tell
> them I need?
Depends. If you're on shared hosting, you'll probably want to run
Django via
Had just rewritten a basic portion of my voucher-processing accounting
model and logics to django ORM over the new year's week end.
So far, it shows up as 15% of the original lines of code, and more
readable as well (SQLs are now gone). And with the admin page
immediately available for me
Well, I've now done part of this. When a user invites someone to the
site (by specifying their email address), a new user is immediately
created with the email address as username.
I wanted a way for one of these users to login.
So I've written a function which, given a URL path and a User,
Luke Plant wrote:
> I think the purpose of manipulators is to take the donkey work out
> of updating multiple fields. If it's only one field, then why bother
> with the manipulator? Just grab the object, read the request.POST data
> for the one field, update the object and save it.
>
On 12/31/05, Michael Hipp <[EMAIL PROTECTED]> wrote:
> I'm thinking of the example where I have things that I want to appear around
> the perimeter of every page on my site representing the output of numerous
> independent apps. This would seem to leave me with two choices:
Try writing template
I found out that for OR lookups I can use complex lookup type e.g.
complex=(Q(Subject__contains=SubjectS) |
Q(OfferType__contains=OfferTypeS))
But how can I rewrite this
complex=(Q(Subject__contains=SubjectS) |
Q(OfferType__contains=OfferTypeS))
into a dictionary like syntax so that I can
Jacob Kaplan-Moss wrote:
On Dec 31, 2005, at 11:02 AM, Michael Hipp wrote:
How do I put multiple apps on one page/template?
Just use both apps in the same view::
from django.models.polls import polls
from django.models.blogs import entries
def my_view(request):
return
Jacob Kaplan-Moss wrote:
On Dec 31, 2005, at 11:14 AM, Michael Hipp wrote:
How do I make this work?
In mysite/apps/simple/views.py I have:
from django.core.extensions import render_to_response
def saysomething(request):
assert False, "Test assert"
return
In http://www.djangoproject.com/documentation/templates/#variables it says:
-
Behind the scenes
Technically, when the template system encounters a dot, it tries the following
lookups, in this order:
* Dictionary lookup
* Attribute lookup
* Method call
On Dec 31, 2005, at 11:14 AM, Michael Hipp wrote:
How do I make this work?
In mysite/apps/simple/views.py I have:
from django.core.extensions import render_to_response
def saysomething(request):
assert False, "Test assert"
return render_to_response('base', {'message': "My
Still trying to get my brain around how Django works...
How do I put multiple apps on one page/template?
Explanation:
I have my base.html template, different parts of the page need to be fed data
from different apps (app1, app2, etc.) The apps are independent and don't
(shouldn't) know
On Saturday 31 Dec 2005 7:44 pm, SUNAYANA wrote:
> FIRST OF ALL I WISH U A VERY HAPPY & PROSPEROUS NEW YEAR 2006
> Greeting Card From Us are as follows:
first spam i have seen on this list
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
Hi Dear Members
FIRST OF ALL I WISH U A VERY HAPPY & PROSPEROUS NEW YEAR 2006
Greeting Card From Us are as follows:
http://www.net4professionals.com/greetings/HNY/HNY2006GREETINGS.html
(Created IN Java Applet)
Download FREE SCREENSAVER FROM
2005/12/31, Vladimir Labath <[EMAIL PROTECTED]>:
> here is my solutions
>
> create folder 'registration' in 'templates'
> copy
> django_src/django/contrib/admin/templates/admin/login.html
> to templates/registartion
> change {% extends "admin/base_site" %}
>
> for example into views.py:
> from
On Птн, 2005-12-30 at 20:42 +, scum wrote:
> I cannot figure out the `official` place to put images, stylesheets,
> and javascripts and the process to access them. Can someone explain
> their method of doing this.
I'm just root-linking all that stuff to '/media/css/base.css'(js, img, etc.)
Hello Django Users,
I try to have some additional data per user, like DOB, a picture,
gender, stuff...
My thought was to have a OneToOneField in one of my selfdefined models
like that:
--- cut ---
from django.core import meta
from django.models.auth import User
class Member(meta.Model):
uid
Kenneth Gonsalves napisał(a):
>> - the whole ORM-thingy should be split into separate section, as
>>it defines the crucial part of application (you can change views
>>and controllers in your application, but not the model); the data
>>is your customer's treasure.
>
> there is slideshow on the
18 matches
Mail list logo