django_tables2: Unable to manually iterate through column values in template

2017-10-06 Thread Ken
Hi all I came to django_tables2 via django_tables. There are a few occasions when I want to manually iterate through the columns of each row of a table in my template. I've always done this using: {% for row in table.rows %}{{ row.det_id }}{% endfor %} It's worked OK in my code for years -

Re: Django queryset returning corrupted value

2017-10-06 Thread Antonis Christofides
Hi, could you show the code that defines the slugfield, the queryset that is returning the wrong value, full error message and traceback (if available), and the version of your OS and RDBMS? It doesn't matter if the problem is more general; let's focus on one specific manifestation of it.

Django queryset returning corrupted value

2017-10-06 Thread Web Architect
Hi, We have running an ecommerce site using Django 1.8.13. It has been running fine for a year. But suddenly the django querysets are returning corrupted values. I am completely clueless why this is happening. Like a model field is of type SlugField but queryset is returning long. Would

how to add cms.urls integrated in my django application to sitemap.xml

2017-10-06 Thread GAFSI Omar
down votefavorite I have this in my django project : In views.py : class MediatorViewSitemap(Sitemap): changefreq = 'monthly' priority = 0.8 def items(self): return

Re: Hello All - Wordpress to Django Python Web Developer

2017-10-06 Thread Gerardo Palazuelos Guerrero
hi, I have one suggestion, check the following link https://www.twoscoopspress.com/pages/django-tutorials Currently I´m working on the djangogirls tutorial (which is very good). Good luck. -- Gerardo Palazuelos Guerrero On Fri, Oct 6, 2017 at 8:29 AM, Daniel Roseman

Hello All - Wordpress to Django Python Web Developer

2017-10-06 Thread Daniel Roseman
You probably want the Djangogirls tutorial. It takes you though building a blog, and includes deploying it to a host. The early sections are a basic introduction to programming but you can skip those. Find it here: https://tutorial.djangogirls.org -- DR. -- You received this message because

Re: Hello All - Wordpress to Django Python Web Developer

2017-10-06 Thread Oladipupo Elegbede
In my opinion, The tutorial starting out wouldn't answer all your questions but put you in the know of what happens in the django world. Armed with that, you can begin to test things out as your needs dictate and then you are able to ask direct questions. What the kind of tutorial you're looking

Re: Is it an error by Django?

2017-10-06 Thread Andréas Kühne
Hi, No, the correct format is content=b'' otherwise you would just be default content to a string that equals "b". It says that there is no encoding on the string afterwards and it is a byte string. It works the same way Python 2 used to do with unicode strings, in that case it was

Re: Is it an error by Django?

2017-10-06 Thread utpalbrahma1995
I have a doubt As per your given link i guess it should be like content=' b ' -- 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

Re: Is it an error by Django?

2017-10-06 Thread utpalbrahma1995
Well Lachlan Thank you very much. -- 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