You need to capture parameters in your path definition if they are part
of the url.
Something like path('/get_courts//', views.get_courts,
name="reg4_getcourts')
Best regards,
Javier.
O 10/07/19 ás 08:57, johnf escribiu:
Hi,
In my app folder I have a view.py which contains a function "de
If you have no previous programing experience, a miracle. If you are
already proficient with Python two months are enough to get comfortable
with Django, but you will likely still be far from mastery.
Best regards,
Javier.
O 09/07/19 ás 11:34, Afotro Ben escribiu:
Hello,i am new to programmin
You can try to use a proxy. Maybe not the most performance-wise idea in
the world, but it could work.
You can try this:
http://django-http-proxy.readthedocs.io/en/stable/
Best regards,
Javier.
On 26/05/16 12:38, Jahan Balasubramaniam wrote:
Hi
I have setup a ffserver which provides live v
Karen Tracey wrote:
Now in a template I want to iterate over them as follows:
{% for project in projects %}
{{ project }}
{% for chain in project.chains %}
-- {{ chain }}
{% endfor %}
{% endfor %}
I'm usually use the values() property to iteract dictionary values.
Shawn Milochik wrote:
It doesn't work because an instance of the Decimal object can't be used for
mathematical calculations (such as division and multiplication) with floats or
integers.
AFAIK decimals can be divided and multiplied with integers just fine.
They throw an "unsupported operand"
Chris McComas wrote:
I tried this, but no luck:
new_green.hp_coursepoints = Decimal(new_green.hp_grade) *
hp_credithours
Decimal can't directly convert floats to decimals.
Try:
new_green.hp_coursepoints = Decimal(str(new_green.hp_grade)) *
hp_credithours
or
new_green.hp_coursepoints = De
Gustavo Henrique escribiu:
> Hi guys!
> Is possible use django with qt4 for desktop apps?
Sure. Two years ago I used Qt4 and the django template system, with an
old version of this script
(http://code.google.com/p/django-opendocument/), to add some reports to
a Tinapos installation.
Tinapos i
Charles Wang escribiu:
> I have a question for "make apache deliver it". How to control the
> access right? Integrate apache access auth model with Django?
X-Send-File could send any file that apache can access not only files on
the "www path". It can send a file that is not accessible by url as
> What works for you?
Ubuntu + Eric4 as ide + Mysql.
Javier.
--~--~-~--~~~---~--~~
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 f
El Jueves, 30 de Noviembre de 2006 23:42, Yamagami escribió:
> 2. How are the sessions stored? Is it RAM? disk? DB perhaps?
They are stored in the database, in the table django_sessions.
Javier.
--~--~-~--~~~---~--~~
You received this message because you are sub
El Viernes, 17 de Noviembre de 2006 13:05, Picio escribió:
> Just courious if Is there anyone that have built or will build a CRM
> or an ERP using Django?
No. But I'm working on a django program to extract data from a ERP.
It generates openoffice spreadsheets from sales and stock data.
If I we
[EMAIL PROTECTED] escribió:
> Javier,
>
>Is it possible to use this with the generic view?
No (AFAIK). You need to call it explicitly when processing the form.
Javier.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
Milton Waddams escribió:
> I use eric3 for my python work, jEdit for templates.
I use eric3 for both.
> I only use the basic features of eric (projects and editing).
I also use project browsing, autocompletion (from API and/or previous
text), hints and some other things (like the built-in gre
viestards escribió:
>> Using the 'date' filter, you can format the output however you want,
>> within templates.
>>
>> For example, to format a date as "September 17, 2006", you would do
>> the following in a template:
>>
>> {{ object.pub_date|date:"F d, Y" }}
>
> thanks for reply, but will it wo
timster escribió:
> {% for category in categories %}
> {{ category.name }}
> {% if category.forum_set.count %}
> {% for forum in category.forum_set.all %}
> {{ forum.name }}
> {% endfor %}
> {% else %}
> no forums in this category
> {% endif %}
>
Rajeshwar Singh Jenwar escribió:
> I m using mysql-standard-5.0.22-linux-i686 and
> MySQL-python-1.2.1_p2 on RH Fedora core 4.
Are you mixing RH packages with official Mysql ones?
I mean, is libmysql from mysql.com and MSQL-Python from a official RH
package?.
Maybe there is some kind of incomp
Rajeshwar Singh Jenwar escribió:
> Hi All,
>
> I m new to django.
> I m getiing problem with Tutorial-1.
It's probably a blind shot, but...
Have you got the MyAQLdb python module installed?
Javier.
--~--~-~--~~~---~--~~
You received this message because you ar
Carlos Yoder escribió:
> Do you know of a way to configure and alter this behaviour?
No. But it could probably be achieved playing with the admin CSS.
Javier.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
Carlos Yoder escribió:
> The problem is, I don't know how to do this in Django. I tried doing:
Well, I'm new to django, but I don't believe that the ManytoMany field
could be used this way. It can for sure relate both tables (user and
car), but I don't know how to add a third value.
I'd do it
Hi ;).
Let's start with some presentation, please jump ahead for the
interesting stuff.
We (I mean my company) have evaluating some options to make a kind of
"business intelligence" web application. Basically a simple web page
where users make some selections, the app query a database and ret
20 matches
Mail list logo