Re: Django Admin should really support Twitter Bootsrap

2015-04-14 Thread David Gleba
I am a novice here with Django.

I am trying to understand your question more deeply. I agree with your 
ideas.

I tried the following and it seemed to work OK, although I may not have 
tried all aspects.

https://github.com/django-admin-bootstrapped/django-admin-bootstrapped

Is this close to what you are proposing?



On Monday, April 13, 2015 at 6:16:40 PM UTC-4, Patrick Lemiuex wrote:
>
> It's about time, the django admin tool should support twitter bootstrap 
> markups and styling. This is the third django project where I've had to 
> deal with custom form widgets because the admin tool supports kind of an 
> outdated layout scheme in the admin template.
>
> This also affects a lot of third party apps as well. It would be something 
> worth contributing to the community by me.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/59ba2ae3-8ecd-4c1f-8e6c-b028b0865fb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: newbie question

2015-03-20 Thread David Gleba
I will try to answer your question here another way.

I searched google for: form to add two numbers

I see: 
 http://stackoverflow.com/questions/14496531/adding-two-numbers-using-javascript

This example uses an HTML form and javascript to perform the task on the 
input.

You don't actually need python or django to get form input and do something 
with the input.

Also, I am not an expert in Django yet, but I think you can use html and 
javascript in views.



On Friday, March 20, 2015 at 12:03:51 PM UTC-4, VMD wrote:
>
> On Friday, March 20, 2015 at 9:58:23 AM UTC-6, David Gleba wrote:
>>
>> Does part 3 of the tutorial cover how to make a form, get the values 
>> without storing them in a database, perform the arithmetic and then display 
>> the result? I didn't see that in there.
>>
>  
> I don't what to store them in a database. Just do the calculation. Is this 
> explained in the tutorial?
>
> I have been sick = brain not working well. maybe I'll get this figured out 
> today or actually do the whole tutorial.
>
> VMD
>
>  
>>
>
>> On Thursday, March 19, 2015 at 11:58:14 AM UTC-4, Andrew Farrell wrote:
>>>
>>> The other commenters are right that reading the tutorial is a good use 
>>> of your time.
>>> https://docs.djangoproject.com/en/1.7/intro/tutorial03/
>>> is the section relevant to your question.
>>>
>>> On Thu, Mar 19, 2015 at 10:39 AM, Javier Guerra Giraldez <
>>> jav...@guerrag.com> wrote:
>>>
>>>> On Wed, Mar 18, 2015 at 9:41 PM, VMD  wrote:
>>>> > I have skimmed the tutorial and didn't find (notice) the answer. Why 
>>>> not
>>>> > point me to an answer to my question?
>>>>
>>>>
>>>> that's exactly the point.  your question assumes Django works in some
>>>> specific way, and there should be a simple answer for a simple need.
>>>>
>>>> but i don't think you assumptions are correct, if you knew how Django
>>>> (and frameworks in general) work, your question might be very
>>>> different, and the answer much simpler and better in general.
>>>>
>>>> really, doing the tutorial is a very good investment of your time.
>>>>
>>>>
>>>> --
>>>> Javier
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Django users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to django-users...@googlegroups.com.
>>>> To post to this group, send email to django...@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/django-users.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/django-users/CAFkDaoQ0MOT57JCKfTjxWn6CkypeP2POm%3DF90Vn%3DF88dYDDQdg%40mail.gmail.com
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1dea13f1-aeb4-4dca-8179-afa7bc7efda1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: newbie question

2015-03-20 Thread David Gleba
Does part 3 of the tutorial cover how to make a form, get the values 
without storing them in a database, perform the arithmetic and then display 
the result? I didn't see that in there.


On Thursday, March 19, 2015 at 11:58:14 AM UTC-4, Andrew Farrell wrote:
>
> The other commenters are right that reading the tutorial is a good use of 
> your time.
> https://docs.djangoproject.com/en/1.7/intro/tutorial03/
> is the section relevant to your question.
>
> On Thu, Mar 19, 2015 at 10:39 AM, Javier Guerra Giraldez <
> jav...@guerrag.com > wrote:
>
>> On Wed, Mar 18, 2015 at 9:41 PM, VMD > > wrote:
>> > I have skimmed the tutorial and didn't find (notice) the answer. Why not
>> > point me to an answer to my question?
>>
>>
>> that's exactly the point.  your question assumes Django works in some
>> specific way, and there should be a simple answer for a simple need.
>>
>> but i don't think you assumptions are correct, if you knew how Django
>> (and frameworks in general) work, your question might be very
>> different, and the answer much simpler and better in general.
>>
>> really, doing the tutorial is a very good investment of your time.
>>
>>
>> --
>> Javier
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAFkDaoQ0MOT57JCKfTjxWn6CkypeP2POm%3DF90Vn%3DF88dYDDQdg%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d7071e54-27f5-45f5-b183-1bdcce76820d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.