Val
Merry Christmas 🎅 everyone
!
who's using django 2.0 here
Kurian
!
boring
!
kinda stuck w/the middleware issh
Django Bot
>> Links
- The Basics of TDD and Django
- codingjoe/django-stdimage: Django Standarized Image Field
- Cleaning up Django migrations - TykBlog
- Django Boilerplate
Anonymous
Iman
Hi
I'm using django 2.0
I'm working on sending an email confirmation for user signup.
I have an activation URL and a message which will be rendered into a template and sent to the user.
the problem is the method used to encode the uid to the message returns byte string which mismatch the pattern specified for the activation link.
URL and other info here :
https://paste.ubuntu.com/26256842/
Traceback here:
http://dpaste.com/32407RD
any solution ?
Django Bot
>> Links
- Set Up Ubuntu To Serve A Django Website Step By Step | Simple IT 🤘 Rocks
- GitHub - egorsmkv/simple-django-login-and-register: An example of Django pr
- How To Set Up Django with Postgres, Nginx, and Gunicorn on Ubuntu 16.04 | D
inchidi
Django Bot
>> Links
- feedhq/feedhq: FeedHQ is a web-based feed reader
- The Python Django - How To Articles For Python Django Developers
Iman
Django Bot
>> Jobs
- Python Site Reliability Engineer / DevOps
>> Links
- ElasticSearch with Django the easy way – freeCodeCamp
- First steps with Django — Celery 4.1.0 documentation
- Django 2.0 Window expressions tutorial - Agiliq Blog | Django web app devel
- How to build a message delivery status in Django - Pusher Blog
- Django & JavaScript: A long and complicated friendship - YouTube
Django Bot
>> Links
- Introduction - Hello Web Books
- Quick and Dirty Django project to find out all countries current trade agre
- Moar Bookmarks! – roguelynn
- Circus – roguelynn
- Django Migrations and How to Manage Conflicts - AlgoTech Engineering Blog
- Creating a Custom Authentication Backend » Creating a Simple Authentication
- 10 Tips for Upgrading to Django 2.0 — Eldarion Blog
- My essential django package list — /var/
- A Complete Beginner's Guide to Django
- 10 Tips for Upgrading to Django 2.0 — Eldarion Blog
Django Bot
>> Blogs
- Caktus Blog Best of 2017
>> Links
- Create a Mobile Application with Ionic 3, Angular 5 and Django Rest
- Building Django HTTP APIs with GraphQL and Graphene
- Django REST Framework Authentication
- Getting started with Django Rest Framework
- Build GraphQL Web APIs with Django Graphene
- Python Decouple in Django
- Ruby on Rails vs Python and Django: Which Should a Beginner Learn?
David
Hello, I have a question: suppose I have a model named "Person" with two fields, "name" and "lastname", and I want to filter all rhe complete names on the registry with a search.
eg.
search string: Jhon Locke
Object values
name: Jhon
last name: Locke
Expected result: the object.
I tried the following:
Person.objects.filter(Q(name__icontains=result) | Q(lastname__icontains=result))
But this will search for the whole name in both fields, and in consecuence, returns nothing.
inchidi
inchidi
theall not necessary but i hope you get what i mean
Django Bot
>> Blogs
- Elm & Django #1
>> Links
- Django Logging, The Right Way
- Implementing faceted search with Django and PostgreSQL
- Caktus Blog Best of 2017
- How to determine if a field has changed in a Django modelform - Stack Overf
- python - django - comparing old and new field value before saving - Stack O
- Copy-on-write friendly Python garbage collection – Instagram Engineering
- (3) Build a Rest API with the Django REST Framework - YouTube
- Django: When extending User, better to use OneToOneField(User) or ForeignKe
- ui/django-rq: A simple app that provides django integration for RQ (Redis Q
David
Thank you!
inchidi
Javi
ehlo :)
inchidi
ehy :)
Anonymous
Ahah :)
Django Bot
>> Jobs
- Senior Python / Django Developer
- Senior Python/Django Developer
Django Bot
>> Jobs
- Senior Django Developer
Javi
Does any of you had a problem with the ModelAdmin and a custom ModelForm? If I add a very minimal form (1 field + the meta with fields = '__all__' and the model) the admin works but doesn't load the JS, so doesn't the filter_vertical for M2M for example. Django v2
Javi
I've been googling a few hours, but it doesn't make any sense
Anonymous
Can you show a ss
Anonymous
And logs
Javi
it only happens when I change the form using get_form , if I just change the form=TestForm , it works!
Javi
In the logs there is nothing. Just that I don't see the web connection to the JS files
Javi
I did a workaround. Instead of only changing the form when editing, I remove the fields when creating a new item.
Javi
sometimes just explainig the issue helps you to view the problem from another angle. Thanks for listening ! :D
Anonymous
Totally agree
Django Bot
>> Jobs
- Dev Ops Lead / Site Reliability Engineer
>> Blogs
- New year, new stuff
- 2018 New Years Resolutions
>> Links
- How to add a text filter to Django Admin – Haki Benita – Medium
- Django Migrations and How to Manage Conflicts - AlgoTech Engineering Blog
Meow
I got a problem with mysql
Meow
anyone here?
Meow
I want to search all similar words in a table
Meow
for example
I've got the word 'developing', I want to get develop, developed, development three rows from table which are similar to developing
Meow
any of you write me a sql?
Meow
query string
Meow
if the word is shorter than those are in the table, I can use LIKE Clause to solve it. but what I encountered is the contrary of that
Meow
my table structure
inchidi
select * from exp.word where word like 'develop%';
Meow
。
Meow
select * from exp.word where word like 'developing';
Meow
select * from exp.word where word like 'developing%';
Meow
I need to match developing.
inchidi
Meow
No I don't need to try it's so obvious not the one I wanted
Meow
The word develop can't be determined .
Meow
I may get development developing developed. Underdeveloped..
Meow
Simply put I need to get a list of word family of a given word
Meow
I.e. give play , returns player playing plays..
Meow
Vise versa.
Anonymous
Anonymous
Word.objects.filter(id__startswith='develope')
Meow
this seems a bit closer to what i wam looking for
Meow
I shall have a try when i am home
Anonymous
👌🏻
Meow
column_reservedWord
Anonymous
Id this columns
Anonymous
Change to word
Meow
get it.
Meow
word_startswith
Anonymous
Yes
Meow
is there an endswith ?
Meow
id_endswith?
Anonymous
Search all word starts developer
Meow
Word.objects.filter(id__startswith='develope')
Meow
word.objects.filter ?
Meow
inchidi
so, this table created by django models?
Meow
no, sorry