Hi there, there is something I obviously don't understand. According to
django reference,
the DetailView has to be provided a slug or pk. I do it in the url but
django constantly doesn't
recognize the slug in the url. 'current url doesn't match etc.' what is
wrong here? I do everything
like it
Try adding "http://"; at the start
Also, consider that the format is 111.111.111.111: (the port is after a
colon, not a dot)
On Fri, Feb 13, 2015 at 8:03 PM, dk wrote:
> its just a string with an ip address and that's it.
>
> {{ j }}
> so at the end should be something like
> 11.111.1
its just a string with an ip address and that's it.
{{ j }}
so at the end should be something like
11.111.11.
instead I get the hole path of my url + /11.111.11.
I just want to go to 11.111.11.
On Friday, February 13, 2015 at 4:46:44 PM UTC-6, daniel.franca wrote:
> H
How's the hyperlink saved in the column? If it's a relative one this is
what is going to happen, to change that you need an absolute link, i.e:
http://google.com
On Fri 13 Feb 2015 at 23:40 dk wrote:
> this is my template
> I do have this address
> http://127.0.0.1:8000/mes/show_table/
> and show
I think you can make comparisons, but try to limit the amount of logic that
you implement in your templates.
On Fri, Feb 13, 2015 at 6:14 PM, dk wrote:
> I am assuming in django doing i.1 or i.2 will be the same as i[1],
> i[2] right?
>
> can I do if statements too? like if i.2 == to somest
this is my template
I do have this address
http://127.0.0.1:8000/mes/show_table/
and show a table where the second colum is a link to somewhere else, the
problem is when I click it lunch me to
http://127.0.0.1:8000/mes/show_table/clickedLinkand doesn't work.
as an example if one of my links
I am assuming in django doing i.1 or i.2 will be the same as i[1],
i[2] right?
can I do if statements too? like if i.2 == to somestuff? do something? or
all that need to be set in the view function?
thanks
On Thursday, February 12, 2015 at 12:15:50 PM UTC-6, Vijay Khemlani wrote:
> If
Hello everyone,
I'm using FormSet in order to add multiple object at once on
a view. To have a more user friendly approach, I created a
'my.formset.js' file and I need to include a 'jquery.formset.js' lib
to add/remove row of the formset (client side) and edit the
formset management information.
Versão para win: https://pypi.python.org/pypi/MySQL-python/1.2.5 só clicar
no arquivo com nome .exe(md5)
para instalar usando o pip ubuntu: apt-get install libmysqlclient-dev
ref:
http://stackoverflow.com/questions/5178292/pip-install-mysql-python-fails-with-environmenterror-mysql-config-not-
to be concise:
try using a tag in your HTML ;)
{% for line in lines %}
{{ line }}
{% endfor %}
On 02/12/2015 09:32 PM, Tom Evans wrote:
On Thu, Feb 12, 2015 at 8:25 PM, Ulisses Cruz wrote:
Hello
This may seem trivial but can you help?
I'm reading a file line by line and transforming it in
10 matches
Mail list logo