RajeshD schreef:
> Here's one solution:
>
> When you write out your textarea, encapsulate it in a div element with
> a class attribute. For example,
>
> {{form.address}}
>
> or
>
> {{form.address}}
>
> and so on.
>
> Then, in your stylesheet, you can target those specific textarea
> elements
Here are MySQL settings, both on Linux and XP windows
LINUX MySQL settings
+--++
| Variable_name| Value |
+--++
| character_set_client | latin1
I have a blog application, and when I click on a user in the admin, so
it tries to go to:
http://myblog.example.com/admin/auth/user/1/
I get a 404. I have no idea what's going on. I have another checkout
of this project using a different, development database, running with
the development serv
Actually I mean this transformation:
"first_name" -> "First name".
Thanks,
Ray
Rares Vernica wrote:
> Hi,
>
> Where is the django function that does the "first_name" -> "First Name"
> transformation? (The function is used by the Admin interface.)
>
> Thanks a lot,
> Ray
>
>
> >
>
--~--~
Hi,
Where is the django function that does the "first_name" -> "First Name"
transformation? (The function is used by the Admin interface.)
Thanks a lot,
Ray
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
On 30-Oct-06, at 6:21 AM, shidan wrote:
> Some of my textfields have a yellow background others have have white.
> There is nothing in my css to differentiate the two two types.
required - non-required?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-
Thanks guys, that was it.
On Oct 29, 8:13 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 10/29/06, shidan <[EMAIL PROTECTED]> wrote:
>
> > Some of my textfields have a yellow background others have have white.
> > There is nothing in my css to differentiate the two two types. If I
> > hardco
On 10/30/06, Ceph <[EMAIL PROTECTED]> wrote:
>
> What I need to pull is a list of Items using the data from the Render
> model that represents the latest Revision of an Item. I am currently
> doing this easily with raw SQL, but this seems like something that
> Django should be able to do for me.
On 10/29/06, shidan <[EMAIL PROTECTED]> wrote:
> Some of my textfields have a yellow background others have have white.
> There is nothing in my css to differentiate the two two types. If I
> hardcode it without using Django this didn't happen but I can't see how
> this can be related to django in
Do you have any sort of Google Toolbar or any addons (or Firefox
itself) that are set to remember form field information? The reason the
Django (admin, presumably?) code will highlight is based on field
names, so if your text field ends up with name="email", the toolbar
will recognize it. In contr
Some of my textfields have a yellow background others have have white.
There is nothing in my css to differentiate the two two types. If I
hardcode it without using Django this didn't happen but I can't see how
this can be related to django in anyway. Anyone experienced the same
thing?
BTW, this
I followed the tutorials and have gone through the manual (all nicely
written, by the way), but I'm having trouble trying to wrap my head
around using Query Sets to get myself through this.
I have the following (abbreviated) models:
class Item( models.Model ):
pass
class Render( models.Mode
That definitely looks feasible - thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send
On 10/29/06, ringemup <[EMAIL PROTECTED]> wrote:
>
> Does that mean that this is really view logic? It seems a shame to
> have to write a custom view function just to do something that's as
> simple and as display-related as that. Is there any way to do this in
> the template?
You could split t
Sorry, I should have searched smarter before posting.
Found the anwers at
http://www.b-list.org/weblog/2006/09/02/django-tips-user-registration
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
For a project I need to record customer information such as name,
address etc.
I doubt about the best approach to create this functionality.
Shall I use the user class in contrib.auth and extend it or shall I
create an independent customer class/app?
The first approach serves me the default authe
> Can you give some more details, please? I cannot puzzle out what you are
> currently doing here.
Hello Malcolm,
It's about in the template.
Here come the details...
### mysite/polls/templatetags/poll_tags.py
from django import template
from mysite.polls.models import Poll
register = templat
On 10/29/06, shidan <[EMAIL PROTECTED]> wrote:
>
> Hi, I want the same functionality as the ChangeManipulator where it
> prepopulates the form with
> the current values of the object, how can I do this with custom form
> manipulator.
Add flatten_data to it and call if when initializing new_data.
18 matches
Mail list logo