Derek wrote:
> I am looking for a way to display a boolean value, with the "on" / "off"
http://docs.djangoproject.com/en/1.1/ref/templates/builtins/#yesno
--
Happy Hacking.
http://sphinx.net.ru
む
--
You received this message because you are subscribed to the Google Groups
"Django users"
Marconi wrote:
> How can I customize the django builtin comment app so that the fields
> url, email will be ignored and automatically populate the name with
> the user's username since I'm only allowing comments from
> authenticated users?
Derive your own form from the builtin one, add a new
ydjango wrote:
> I have two django based websites and I want show pages from one
> website in another. Is Iframe the best way to do it or is there some
> other better. I read somewhere that Iframes should be avoided but
> never got any good reasons why?
You should rely on syndicated high-level
Kevin Fullerton wrote:
> I'm working with django.contrib.comments at the moment, and so far most
> things are working as expected.
>
> I'm building the submission form using {% get_comment_form for object as
> form %} and have added the following as part of the form
>
>
>
> As I understand it,
Leslie Maclachlan wrote:
> I would expect the url to show as: http://intranet/MV_Edit_Employee/1/
>
> But, it shows up as:
>
> http://intranet/var/opt/django/projects/ilayer/MV_Edit_Employee/1/
>
> Everything still workds, but it just looks strange to have a url showing
> the absolute path on
Nuno Machado wrote:
> If I put / in the URL field, I need to write "mysite.com//" to get
> access to my index page. This is not good for visitors!
It works fine for me when URL of flatpage is just slash, I type in
site.com and see my flatpage. Probably your Django installation is a bit
old or
Grigory Fateyev wrote:
> In all my local projects when I want to use comments contrib, got the
> error [1]. Django is from last trunk, all *.pyc files from
> contrib/comments were removed. What it can be?
Have you wiped out `urls/` subdirectory (left there from previous Django
version) from
nkulmati wrote:
> So here's a task which I do not yet know how to solve with django.
>
> When users post comments and wish to include a quote of another user,
> I would like them to use:
>
>> quoted phrase 1
>
> reply to phrase 1
>
>> quoted phrase 2
>
> reply to phase 2
>
> (similar to an e-mail
jrivero wrote:
> yes! but the previous solution was useful to paginate the result with
> a another templatetag
>
> {% get_comment_list for entry as comment_list reversed %}
> {% paginate comment_list 10 as page using comment_list_page %}
> {% for comment in comment_list_page %}
>
Brandon Taylor wrote:
> Hi everyone,
>
> I'm using 1.0 and have added contrib.comments to my project which has
> a blog. I can preview a comment just fine, but I would like to provide
> a way for the user to get back to the original blog entry once they've
> posted their comment.
Hi Brandon, I
Dmitry Dzhus wrote:
> I've spend a lot of time playing with different approaches to breaking
> big text into pieces in the past. Now I'm quite sure that any solution
> which tries to split a text _automagically_ sucks no matter what is it
> based on — word count, paragraphs, anyt
[EMAIL PROTECTED] wrote:
> HI all,
>
> I've just starting using django and am really impressed. In my simple
> app I want to retrieve a single "article" from a db and then display
> it broken into reasonable length pages (either based on word count or
> a specific markup in the text). I'd
jrivero wrote:
> Is possible obtain the comments of django.contrib in reversed order?
>
> In old version:
> {% get_free_comment_list for workgroups.workgroup group.id as
> comment_list reversed %}
>
> But in new version the templatetag not have control of this parameter.
> The method for order is
PonasNiekas wrote:
> I'm about to write an app, which is going to do long running (~1 to
> ~60 minutes) calculations (meanwhile, the user who triggered the
> calculation will get message like "calculation in progress" or smth).
>
> I'm wondering what is the right place or best practice to do
Brandon Taylor wrote:
> I see there is an closed ticket: http://code.djangoproject.com/ticket/8571.
> I have cleared out all of my .pyc files as suggested, but I'm still
> getting the template error. Can anyone offer any advice?
I had a similar problem which was resolved after I had cleared
sotirac wrote:
> Just trying to get a feel for what other developers are doing when
> deploying to a production server. There are some differences between
> my development machine and production server such as the location of
> my media files, the database settings, and if I want to enable
Bobby Roberts wrote:
> What would I attach to using this form statement as a
> starting point:
>
> {% render_comment_form for [object] %}
>
> ie what should the object be?
Semantically comments application is not intended for creating new
first-class data on your site, so the fact that you have
[EMAIL PROTECTED] wrote:
> actually, that isn't the issue, the issue is with the {%
> render_comment_form for event %} tag, i'm getting a template syntax
> error:
>
> Invalid block tag: 'render_comment_form'
>
> this is right after the comment_list endfor here:
>
> http://dpaste.com/78918/
I
chatchai wrote:
> 2. Once I authenticate user, no need to have user filling user name
> and email. Unfortunately, comment form required those fields.
Not really. If user is authenticated, her id is stored along with
comment in DB, and you can transparently access user_name and user_email
like
Jarek Zgoda wrote:
> Is there any document with new comment framework customization tips?
> I'd like to switch finally to 1.0 but I don't know how to accomplish
> few things (or have ugly workarounds):
>
> * do not display preview page after succesful posting of comment, go
> to commented
James Matthews wrote:
> HI List,
> Today Google released chrome. I have been playing around with it a little
> today. Besides for seeing some funny things (try
> https://www.gmail.comThanks reddit) It seems to be a very nice
> browser. I would like to see where
> it's path is going to go. What
How is default «delete comment» view from new comments system meant to
get `next` argument (see `contrib/comments/views/moderation.py`)?
I think good way to do it is to support `next` GET request parameter, so
that one could use `/delete/123/?next=/blog/entry/bla-blah` as a link to
comment
djandrow wrote:
> I understand dynamic urls and templates and things, so i don't need
> help with that. What i need to know is how can i get a list of months
> which have entries in them, I'd apperciate any help.
Use generic date-based view (under django.views.generic.date_based.) and
see
manitta wrote:
> But when i try giving a request it does takes a screen shot.
> unfortunately am not able to see the screenshot..:(
> the screenshot is getting uploaded.. all data is visible but jus the
> blank page..
How do you start your application? The screenshot is taken because
somehow
Will Rocisky wrote:
> I have a datetime object '2008-15-06 11:12:13'
> I want to display it like 'June 6, 2008 at 11:12'
{{ some_datevalue_object|date:"F j, Y at H:i" }}
--
Happy Hacking.
http://sphinx.net.ru
む
--~--~-~--~~~---~--~~
You received this message
25 matches
Mail list logo