Re: How to filter 'Invalid HTTP_HOST header ...' errors

2019-03-24 Thread Jani Tiainen
sers/3a45a72c-714d-c003-e237-417c899c430e%40dewhirst.com.au > <https://groups.google.com/d/msgid/django-users/3a45a72c-714d-c003-e237-417c899c430e%40dewhirst.com.au?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen Soft

Re: How To Use PostgreSQL with your Django on Ubuntu

2019-03-19 Thread Jani Tiainen
0d%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen Software wizard https://blog.jani.tiainen.cc/ Always open for short term jobs or contracts to work with Django. -- You received this message becau

Re: test if model object fits into QuerySet without executing SQL?

2019-03-18 Thread Jani Tiainen
rs+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/a09cf16e-8f9c-4bf0-b3

Re: Connection Reset by Peer

2019-03-12 Thread Jani Tiainen
9 at 2:17:22 PM UTC-5, Jani Tiainen wrote: >> >> Hi. >> >> Usually error means that client (browser) terminated connection before >> request was completely handled and returned to client. >> >> >> >> >> ma 11. maalisk. 2019 klo 17.58 Alex S

Re: Connection Reset by Peer

2019-03-11 Thread Jani Tiainen
Hi. Usually error means that client (browser) terminated connection before request was completely handled and returned to client. ma 11. maalisk. 2019 klo 17.58 Alex Snyder kirjoitti: > Hello, > I'm working on a webhook receiver and all was working fine the other day. > Now I'm receiving

Re: Tutorials Needed

2019-03-01 Thread Jani Tiainen
s.google.com/d/msgid/django-users/c98acb13-6845-4fc2-856c-cc11757d40ab%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/c98acb13-6845-4fc2-856c-cc11757d40ab%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://grou

Re: looking for team members as my technical Advisory

2019-02-22 Thread Jani Tiainen
his discussion on the web visit > https://groups.google.com/d/msgid/django-users/4298c126-9392-4691-a40b-51420ebbaea1%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is half done, and a half done has been suffi

Re: how can begin to create my web application

2019-02-22 Thread Jani Tiainen
ps.google.com/d/msgid/django-users/d1611c69-6ec3-4406-bb65-94e088d34f87%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before...

Re: How to sent OTPA verification in mail while login with django

2019-02-22 Thread Jani Tiainen
> "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 https://groups.google.com/gro

Re: Django : use openstreetMap and postgis to add geolalization field to localizate my users in a country

2019-02-20 Thread Jani Tiainen
Hi. Definitely it is possible and it isn't even very hard to do. ke 20. helmik. 2019 klo 12.31 abdouramane mahamane kirjoitti: > I'm new in django and i want to use openstreetMap parameters into users > field city or street. > This localization will allow me to find them and to measure the

Re: Keeping/accessing the data Django generates during a test run

2019-02-13 Thread Jani Tiainen
roup/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/f9d2dfe3-c832-45bd-a6d3-7f3415f1293d%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/f9d2dfe3-c832-45bd-a6d3-7f3415f1293d%40googlegroups.com?utm_medium=emai

Re: REST Framework alternatives

2019-02-05 Thread Jani Tiainen
> For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gro

Re: Project initialization

2019-01-20 Thread Jani Tiainen
go-users/e773e0b0-8946-45c3-a7a9-5b6565c22210%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received this me

Re: E-commerce with Django framework

2019-01-20 Thread Jani Tiainen
users/CANNqTcNqGJh5JBjGpYyFv6NBJrbG3Dttm-99Qd2B7P1FGKqqiw%40mail.gmail.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received this m

Re: Django to APK

2019-01-19 Thread Jani Tiainen
https://groups.google.com/d/msgid/django-users/31a440ae-1638-4ce9-9539-b4edc57ee516%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/31a440ae-1638-4ce9-9539-b4edc57ee516%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://gro

Re: What do you think about unify templates feature?

2019-01-18 Thread Jani Tiainen
documentation. Give the support. On Sat, Jan 19, 2019 at 12:18 AM J. Pablo Martín Cobos wrote: > I reply beetween lines, > > El vie., 18 ene. 2019 a las 21:25, Jani Tiainen () > escribió: > >> Hi, >> >> Lets try this again. >> >> Your system cou

Re: What do you think about unify templates feature?

2019-01-18 Thread Jani Tiainen
signed=closed=new=~pmartin=id=summary=status=owner=type=component=version=1=id >> 3. https://gist.github.com/goinnn/8a42314fccdd13bcf4df256a277ec1f6 >> (tested in Django 1.8 - 1.11) >> 4. >> https://github.com/django/django/pull/1936/commits/e669bca5c8fe6d13ea745d338203cd

Re: integrating themes in django

2019-01-14 Thread Jani Tiainen
om/d/msgid/django-users/051f0cfd-05a0-40fc-afd1-793da8f1e75f%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You

Re: ms sql server connectivity to django

2019-01-07 Thread Jani Tiainen
rs. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/ee503251-d646-4585-b773-0b1fc5b11c66%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/ee503251-d646-4585-b773-0b1fc5b11c66%40googlegroups.com?utm_medium=email_source=footer

Re: Show locations on maps on realtime sent from ios app django as a backend.

2019-01-03 Thread Jani Tiainen
Hi. Where do you want to display this location information? Achyut Pandey kirjoitti to 3. tammik. 2019 klo 16.36: > What are the possible ways to show the locations data sent from ios app to > django backend on maps. Please anyone respond i really need your help guys . > > -- > You received

Re: Building a framework

2018-12-29 Thread Jani Tiainen
Year Project for an under-graduate level student? Or > there is another choice that what If I just download or forked the source > code of Django or Flask or other simple framework and first understand and > then making changes in that framework and customize that. What about this >

Re: Building a framework

2018-12-28 Thread Jani Tiainen
; . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe f

Re: Translation with context

2018-12-25 Thread Jani Tiainen
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 https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/

Re: I want to build dynamic report tool using and postgres and reports are like tables based on locations

2018-12-16 Thread Jani Tiainen
Hi. I've been using wkhtmltopdf for my reports. It's very easy to use and best of all you can use whatever webkit browsers do support. There also exists reportlab that can generate reports. aryan patel kirjoitti su 16. jouluk. 2018 klo 21.18: > Kindly give me any suggestions or any guidance

Re: path('posts/(?P[0-9]+)/$'

2018-12-03 Thread Jani Tiainen
018 at 10:00:17 AM UTC-8, Jani Tiainen wrote: >> >> Hi. >> >> Path is a new url format which uses format of for >> exanple like . If you want to use regular expressions use >> re_path instead. >> >> kirjoitti su 2. jouluk. 2018 klo 19.42: >&

Re: path('posts/(?P[0-9]+)/$'

2018-12-02 Thread Jani Tiainen
Hi. Path is a new url format which uses format of for exanple like . If you want to use regular expressions use re_path instead. kirjoitti su 2. jouluk. 2018 klo 19.42: > When I run http://localhost:8000/posts/2 > > I get the error: > > > Using the URLconf defined in blog.urls, >

Re: Why isn't user.photo being saved in UpdateView?

2018-12-01 Thread Jani Tiainen
It's not a Django but generic requirement to send files within HTML form. Jim Wombles kirjoitti la 1. jouluk. 2018 klo 11.41: > I solved the problem after digging around in the Django Forms related to > ImageFields and FileFields. I needed to add the enctype="multipart/form-data"> attribute

Re: Tutorial - runserver freezes command prompt

2018-11-29 Thread Jani Tiainen
django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/c6623559-baf7-4313-bf10-be9106850f74%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/c6623559-baf7-4313-bf10-be9106850f74%40googlegroups.com?utm_medium=email_sou

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Jani Tiainen
, it works like a charm, the documentation is >> awesome >> >> Le jeu. 29 nov. 2018 21:17, Jani Tiainen a écrit : >> >>> Also there exist ExtJS, Dojo Toolkit and at least Svelte which I've >>> tried... >>> >>> kennedy kay kirjoitti to 29. ma

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-29 Thread Jani Tiainen
Also there exist ExtJS, Dojo Toolkit and at least Svelte which I've tried... kennedy kay kirjoitti to 29. marrask. 2018 klo 21.25: > For me personally I would recommend AngularJS. Not just because it easy to > integrate with Django but because you can also create mobile applications > on the

Re: Website is running in Django and also clients want to make the Mobile APP.

2018-11-23 Thread Jani Tiainen
6%3DdyscxarOk4zNbERTaANf%2BAbnMHonFCYMau3dJH0nBMV4A%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAEr6%3DdyscxarOk4zNbERTaANf%2BAbnMHonFCYMau3dJH0nBMV4A%40mail.gmail.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. &

Re: URL path not working with Django ver 2.1.2

2018-11-23 Thread Jani Tiainen
scussion on the web visit > https://groups.google.com/d/msgid/django-users/11324094-eea3-488c-b8dd-9e0cc1d38262%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/11324094-eea3-488c-b8dd-9e0cc1d38262%40googlegroups.com?utm_medium=email_source=footer> > . >

Re: how to send data from form site page

2018-11-22 Thread Jani Tiainen
e for user for example when your form fails to validate. On Thu, Nov 22, 2018 at 5:19 PM Gear Crew wrote: > I want to edit style for form model like changing in default HTML tags > > On Thursday, 22 November 2018 16:53:54 UTC+2, Jani Tiainen wrote: >> >> Hi. >> >&g

Re: how to send data from form site page

2018-11-22 Thread Jani Tiainen
Hi. I've really hard time to understand what you want to achieve. Could you please give an example what you're after? Gear Crew kirjoitti to 22. marrask. 2018 klo 16.48: > how to send data from form site page that has html form to model without > using form model because I want to use HTML

Re: mail sending

2018-11-22 Thread Jani Tiainen
Hi. Essentially you need to record the time you want your mail to be sent and then you need some kind of background worker to check (periodically) if there are any mails to be sent. Celery is one tool that can do that. I personally use simple cron job that uses django management command to

Re: using a foreign key with multiple choices

2018-11-13 Thread Jani Tiainen
Well categoriederecette is a foereign key to your Categorie model. Your models don't make any real sense. If your categories are fixed you can remove foreign key and add charfield and definitions directly to Recette model. If you expect that categories are added, changed, created or deleted

Re: App Sync

2018-10-01 Thread Jani Tiainen
Hi. That really greatly depends and only way to find it out is to install it and does it work. Most notable change is that Django 2.0+ requires Python 3. ma 1. lokak. 2018 klo 16.34 Dennis Alabi kirjoitti: > Please can i install an App developed in django 1.7 into django 2.1 > environment > >

Re: How to create form??

2018-09-23 Thread Jani Tiainen
Hi. If you have done the official tutorial, part 4 is all about this exact problem. su 23. syysk. 2018 klo 18.51 Ansari Sabir kirjoitti: > How to create a form that collect information (like first name, last name, > email address, contact number, gender) and admin can see that information >

Re: Update django 1.8 project to 2.0 lts

2018-09-23 Thread Jani Tiainen
I suppose you do have good unittest code coverage so do gradual upgrades (which is preferred upgrade path) and read release notes on each version. 2to3 tool is great help to check some obvious issues when upgrading to Python 3. su 23. syysk. 2018 klo 16.57 'David Brown' via Django users <

Re: Django restful project standalone

2018-09-20 Thread Jani Tiainen
Hi. Could you also describe what are you trying to achieve? People might have good solutions for you if you provide more detailed information. to 20. syysk. 2018 klo 14.10 Peter Mudoko kirjoitti: > Hi guys am experimenting how i can use django restful framework in a > standalone python project

Re: Django for desktop app development

2018-09-08 Thread Jani Tiainen
Hi. Even django is a web app development framework you can use some parts if it to develop desktop apps. But as pointed out you might get much further with developing api with django and use that api in your desktop or mobile app. la 8. syysk. 2018 klo 5.27 Muhammad Dilshad Khaliq <

Re: Creating a single page app

2018-09-07 Thread Jani Tiainen
Hi. Django is really frontend agnostic and there isn't definite answer what is the best framework. So pick one that you're happy with. pe 7. syysk. 2018 klo 8.20 Md.iftequar iqbal kirjoitti: > Which is the best best frontend js for django > > > On Fri, 7 Sep 2018, 10:34 am Andréas Kühne, >

Re: new to django

2018-08-29 Thread Jani Tiainen
Hi, Django Girls do have excellent tutorial which also does have very detailed setup guide. ke 29. elok. 2018 klo 14.16 sankar ardhas kirjoitti: > Hi all, > I am a web developer in laravel and codeigniter php web > frameworks. I want to learn how to build web application with django

Re: Custom Django Admin Pages

2018-08-21 Thread Jani Tiainen
7ccf869-829c-4ed4-881b-3b2031834bee%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received this message because you a

Re: Django database problem

2018-08-20 Thread Jani Tiainen
Hi, Instead of doing everything by hand I would recommend doing a custom management command in Django. Because management commands live inside Django ecosystem you get full benefits of Django. Migrations to setup database tables from model definitions. Models and ORM to interact with database.

Re: How to verify if is new record or update record on django template?

2018-07-12 Thread Jani Tiainen
Hi. Usually you know that in a view. Url routing will be different depending if it's a new record or editing old record. to 12. heinäk. 2018 klo 16.58 Fellipe Henrique kirjoitti: > How to verify if is new record or update record on django template? How > can i do that? > > Thanks! > > -- > You

Re: Multiple image upload in Django using AJAX & jQuery

2018-06-22 Thread Jani Tiainen
I've made simple picture uploader with Django. Sources can be found at https://github.com/jtiai/picpaster pe 22. kesäk. 2018 klo 14.38 Keerthan Bhat kirjoitti: > Can someone please help me in this? This thing is literally giving me > headache from past few weeks. Please help. Please! > > >

Re: How to run python script by clicking a HTML button?

2018-06-21 Thread Jani Tiainen
Hi, Django doesn't exactly work that way. Please do the official tutorial from Django docs to get grasp of basics how things works and are tied together. to 21. kesäk. 2018 klo 23.15 SUBHENDU PANDA kirjoitti: > Below is my HTML code... > > > > > > HTML Forms > > > First name: > >

Re: How to fill latitude and longitude values from an existing location field in Django+Python?

2018-06-21 Thread Jani Tiainen
Hi, First I really suggest you to take a look at Django GIS functionality. It requires few libs to be installed but gives you tons of functionality. Including fields that can show geometry on map. Next problem is that you want to convert physical address to coordinates. Process is called

Re: Converting GeometryField to MultiPolygon using GeoDjango?

2018-06-13 Thread Jani Tiainen
Hi. I usually do data cleanups with QGIS tool which has excellent tools to manipulate data. And it's relatively fast. Of course if you need to import data more regular basis QGIS might not be an option. ke 13. kesäk. 2018 klo 21.30 Jack kirjoitti: > See original question on Stack Overflow >

Re: Unit testing models.py

2018-05-13 Thread Jani Tiainen
6nf0OnOL%2BE%3DuVa1Cs0BOFmTx8vjQm6-io2Q%40mail.gmail.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received this message becau

Re: while going through the django tutorial i commited a error and because of which i cannot execute the python manage.py runserver. The errors are attached below

2018-05-07 Thread Jani Tiainen
Also next time please post exceptions as a text. Images are really hard to read specially on mobile device. ma 7. toukokuuta 2018 klo 20.34 Avitab Ayan Sarmah kirjoitti: > i got the error thank you. It was a simple error i forgot to put "<" > before vote > > On Monday,

Re: Username same as user id

2018-05-07 Thread Jani Tiainen
django-users/e7eb07c0-6162-4c88-b5b4-8d1a5ee2d4b6%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/e7eb07c0-6162-4c88-b5b4-8d1a5ee2d4b6%40googlegroups.com?utm_medium=email_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. >

Re: what best for ecommerce project

2018-05-06 Thread Jani Tiainen
your site on top of that and it doesn't do everything out of the box. On Sun, May 6, 2018 at 9:42 AM, Ruhia gr <ruhiag...@gmail.com> wrote: > how about the installation and compatibility also i heard about django > shop what about this > > On Sun, May 6, 2018 at 12:05 PM, Jan

Re: what best for ecommerce project

2018-05-06 Thread Jani Tiainen
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 https://groups.google.com/group/djang

Re: Query Regarding Django Signals

2018-05-04 Thread Jani Tiainen
Hi, Signals are also good for decoupling things. For example you want to do some post save action for third party models. 4.5.2018 19.10 "Nipun Arora" kirjoitti: Hello Community I was puzzled by the fact that if django signals are not asynchronous why do we use them

Re: Django-admin problem

2018-05-04 Thread Jani Tiainen
Hi, By the looks of error you're running windows. By default scripts are not in PATH so you need to type something like c:\python36\scripts\django-admin.py Or you should use virtualenv (or pipenv) which would set path correctly. pe 4. toukokuuta 2018 klo 19.51 Mikko

Re: Djangocon Europe plans?

2018-05-03 Thread Jani Tiainen
Hi. I'm staying in Holiday Inn at city centre. Not sure is it any closer than confrence hotels. I got my room reserved at the beginning of March though. to 3. toukokuuta 2018 klo 19.59 C. Kirby kirjoitti: > Who is going? where are you staying? etc > > I'll be flying in on

Re: Nullable vs empty strings

2018-05-03 Thread Jani Tiainen
5a-4fb9-8122-0dba7b99bb4d%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/23e3a4dc-345a-4fb9-8122-0dba7b99bb4d%40googlegroups.com?utm_medium=email_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Wel

Re: need help

2018-05-02 Thread Jani Tiainen
e 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. &

Re: django admin and logout

2018-05-02 Thread Jani Tiainen
-810d-3b894ad4a19f%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received this message because you are subsc

Re: Crazy Idea: OOP for "Hyperlink"

2018-04-25 Thread Jani Tiainen
Hi. Most probably you get there by creating custom template tag and bunch of other code. It would be easier to grasp your idea if you have some kind of an implementation to reference. Or is there something that stops you from proceeding? ma 23. huhtikuuta 2018 klo 12.00 guettli

Re: Updating reCaptcha (widget) in django-based OSQA

2018-04-23 Thread Jani Tiainen
send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/4794741.qnXsq2Tx5h%40fritzbook. > For more options, visit https://groups.google.

Re: Updating reCaptcha (widget) in django-based OSQA

2018-04-20 Thread Jani Tiainen
I recently used similar stuff and IIRC recaptcha2 doesn't use one of those fields anymore. pe 20. huhtikuuta 2018 klo 17.40 DougN kirjoitti: > I'm new to django and trying to figure out how some of the form processing > works. > > For example, I have this field: > >

Re: Adding stored procedures

2018-04-19 Thread Jani Tiainen
Hi. Django migrations are run only once. If you want to change you stored procedure you always need a new migration. In case of being last migration you could develop it by having drop clause im reverse migration. But if there is another migration(s) between current and new stored procedure you

Re: Use self-increasing arguments in numeric for-loop in Django

2018-04-19 Thread Jani Tiainen
raphobject.1%}}, {{% > graphobject.2 %}} .. But I want a loop to do that > > 在 2018年4月19日星期四 UTC+2下午6:29:18,Jani Tiainen写道: >> >> Hi. Django templating language isn't programming language. It can't do >> that. You need to prepare data suitable for displaying in your view. >>

Re: Use self-increasing arguments in numeric for-loop in Django

2018-04-19 Thread Jani Tiainen
7-4cca-4b11-9aae-7e3092732dd3%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/931f17b7-4cca-4b11-9aae-7e3092732dd3%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen -

Re: Django generated migration fails with KeyError for field that was removed from the model.

2018-04-19 Thread Jani Tiainen
a9008d240966%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/423f74f4-3966-4f0f-ba20-a9008d240966%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message beca

Re: How to restrict Model.objects.all() to data pertaining to one organization

2018-04-10 Thread Jani Tiainen
Hi. Model.objects.filter (organization=organization) Or did you mean something else? ti 10. huhtikuuta 2018 klo 14.03 Mauro Crociara kirjoitti: > Hi everyone, > > I posted this question >

Re: new Feature: yay or neigh?

2018-04-07 Thread Jani Tiainen
Hi, If you want to prove your idea useful write a template tag and try ti get people to use it. la 7. huhtikuuta 2018 klo 10.04 Samuel Muiruri kirjoitti: > Hey guys, > Think this would be a neat feature to add to django. > > {% if request.connection %} > #if

Re: Verify Emails

2018-04-07 Thread Jani Tiainen
Hi, Nothing prevents you to create django validator that does use that package. Including functionality that package provides would add more dependencies to Django (pyDNS) which greatly reduces chances to get existence verification into Django itself. And Django already has email validator

Re: How to use Graphviz/Networkx in django?

2018-04-07 Thread Jani Tiainen
you could help me! > Thanks > > 在 2018年4月6日星期五 UTC+2下午7:39:43,Jani Tiainen写道: >> >> Hi, >> >> It's relatively simple. Just generate proper input file for graphwiz or >> networkx to consume call that tool for input file and create output file. >> Then rend

Re: Using other schema in PostgeSQL

2018-04-07 Thread Jani Tiainen
You can give search path in database options which IMO is cleanest option you can have now. See https://stackoverflow.com/questions/31726064/how-to-connect-to-multiple-postgresql-schemas-from-django For example how to do that. la 7. huhtikuuta 2018 klo 4.15 Michel Vega Fuenzalida

Re: How to use Graphviz/Networkx in django?

2018-04-06 Thread Jani Tiainen
Hi, It's relatively simple. Just generate proper input file for graphwiz or networkx to consume call that tool for input file and create output file. Then render output file via view to your page. pe 6. huhtikuuta 2018 klo 18.31 kirjoitti: > Hi, thank you for your help. >

Re: when i import large data to db using django orm, the django orm use too many memory

2018-04-01 Thread Jani Tiainen
af0e-6c36455ad282%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received this message because you are subscr

Re: New Add-On: Django Model Lifecycle Hooks

2018-04-01 Thread Jani Tiainen
iving 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 https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ >

Re: how to update form after a user select a choice

2018-03-31 Thread Jani Tiainen
Hi, You need to write a piece of javascript that attaches to your radio buttons to call some javascript function to do what ever you want to happen. You can use js libraries like jquery to make things easier. 31.3.2018 14.15 "xueqi dong" kirjoitti:

Re: Django Unable to Send Email

2018-03-31 Thread Jani Tiainen
Hi, Error means that user which is used as sender of email is actually not permitted to send emails. You need to check with your IT support is your support@**.org allowed to send emails through your smtp provider. la 31. maaliskuuta 2018 klo 13.30 yingi keme kirjoitti:

Re: Updating Django for my web based application

2018-03-31 Thread Jani Tiainen
go 2 is not LTS so what is the guaranty that it > will be a secure Django Version! > > > On Sat, Mar 31, 2018, 2:34 PM Jani Tiainen <rede...@gmail.com> wrote: > >> Hi, >> >> In most cases, if possible I would upgrade latest release. Main issue >> with 1.11 t

Re: Updating Django for my web based application

2018-03-31 Thread Jani Tiainen
, 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...@googl

Re: Updating Django for my web based application

2018-03-30 Thread Jani Tiainen
Hi, Standard procedure to update Django is to upgrade gradually all versions from source version to target. There is no single document to describe changes needed between versions that are apart more than one release. Only changelog you can find is at every release which contains changes from

Re: Pythonanywhere Hosting issue

2018-03-29 Thread Jani Tiainen
b visit https://groups.google.com/d/ > msgid/django-users/76b6f86a-35a1-4a0f-ad5b-70f689dcfe6e%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/76b6f86a-35a1-4a0f-ad5b-70f689dcfe6e%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit ht

Re: How to upload and save excel data in database django

2018-03-29 Thread Jani Tiainen
ps.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/08275ee8-0245-4317-9b14-449cc92e8b4c%40googlegroup

Re: Having ERROR running Django project !!!

2018-03-29 Thread Jani Tiainen
tps://groups.google.com/d/ > msgid/django-users/46a977ea-0582-44c0-bb9a-5de39b0654c1%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/46a977ea-0582-44c0-bb9a-5de39b0654c1%40googlegroups.com?utm_medium=email_source=footer> > . > > For more options, visit https://g

Re: Having ERROR running Django project !!!

2018-03-28 Thread Jani Tiainen
Hi. Preferably whole project for example put it in github. If you upload your project remember to remove sensitive data like your database passwords. 28.3.2018 5.35 ip. "Jamaldin Pro" kirjoitti: It is unknown and When I try to open it, it shows programs to open with

Re: Having ERROR running Django project !!!

2018-03-28 Thread Jani Tiainen
85710a563%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/9f87ff07-373b-4f8b-9ef5-3aa85710a563%40googlegroups.com?utm_medium=email_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is

Re: Setting Django

2018-03-28 Thread Jani Tiainen
sion on the web visit https://groups.google.com/d/ > msgid/django-users/2af2cabf-f28f-46a5-a958-55500d17655d%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/2af2cabf-f28f-46a5-a958-55500d17655d%40googlegroups.com?utm_medium=email_source=footer> > . > For mo

Re: How to understand below html code?

2018-03-27 Thread Jani Tiainen
Hi. That's actually Django template which uses Django templating language. It's not Jinja2 as suggested in other post. What it does is well explained in that other post though. ti 27. maaliskuuta 2018 klo 7.12 Utpal Brahma kirjoitti: > I am in tutorial 3 of

Re: Get data from an external api into my database.

2018-03-20 Thread Jani Tiainen
Hi. Requests library will be your friend. ti 20. maaliskuuta 2018 klo 14.05 Mukesh Jha kirjoitti: > I want to access a api from http://open-platform.theguardian.com/ or > https://newsapi.org/ and load it into my sqlite database. The data in > these site is in json

Re: Sample of GeoDjanco websites

2018-03-20 Thread Jani Tiainen
ever had to push any geo-django involved apps > to heroku's servers. > I'm attempting this now and running into issues regarding libjasper.so.1. > The community and documentation around geodjango seems quite thin.. > > On Tuesday, March 20, 2018 at 4:12:04 PM UTC+9, Jani

Re: Sample of GeoDjanco websites

2018-03-20 Thread Jani Tiainen
mJXBBiZ%2B_Oc1m-6O3q7ZZkM7pANi8fL-KA% > 40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CANoUts50JfjeaanLmJXBBiZ%2B_Oc1m-6O3q7ZZkM7pANi8fL-KA%40mail.gmail.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > &

Re: Using Python Packages in Django

2018-03-11 Thread Jani Tiainen
Hi. Django is just Python so you can use any library as you see fit. You don't need to create any special models for that unless you want to store something to database. If that package creteates output you want to show in template just calling it from a view is sufficient. 11.3.2018 20.10

Re: Create table rows by an entered number

2018-03-09 Thread Jani Tiainen
Hi. Surely you can. Django template language has everything you need to create tables by arbitrary rows and columns. 9.3.2018 17.23 "Ondra Baumrt" kirjoitti: > Hi, > is there any possibility how to create a table with as many rows as is an > entered number. In example:

Re: Django sending syntax errors on ES syntax of imported JS file

2018-03-02 Thread Jani Tiainen
Jason" <jjohns98...@gmail.com> kirjoitti: > Jani Tiainen, Your assertion that ES is not very well supported is > incorrect. Most of ES6 is in fact highly supported across browsers except > for certain specifications that are still being worked on regarding > implementation d

Re: Django sending syntax errors on ES syntax of imported JS file

2018-03-01 Thread Jani Tiainen
4cef5d-7a71-4d62-8ff2-d55f3e13143c%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Jani Tiainen - Well planned is half done, and a half done has been sufficient before... -- You received this message because

Re: Upgrade django from 1.8 to 1.9 - issue

2018-02-28 Thread Jani Tiainen
Hi. In your app __init__.py you import signals which in turn imports User model. You can't do that any more. Correct way to register signal handlers is to use app config ready. See https://docs.djangoproject.com/en/1.9/topics/signals/#connecting-receiver-functions And section "where this

Re: Simple Search Feature

2018-02-25 Thread Jani Tiainen
sage 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

Re: Initializing DateTimeField in django forms.

2018-02-19 Thread Jani Tiainen
Hi. If you want to display only date why aren't you doing it in template rather than trying to make form to just display value. 19.2.2018 18.38 "prince gosavi" kirjoitti: > That did the job.But I would like to get rid of the 'Field' type view that > surrounds the

Re: loading script deployment

2018-02-11 Thread Jani Tiainen
Hi. Since you have so much data to pass and it's in CSV format I would suggest that instead of pushing data row by row over network upload that data in CSV format to your API. Then parse file using forms and save to database. 10.2.2018 22.47 "Leif" kirjoitti: Hi Dylan,

Re: django migrating from sqlite3 to oracle gives error ORA-02000

2018-02-09 Thread Jani Tiainen
Hi. Could you give full traceback and preferably migration code that fails. Just Oracle error code isn't enough to help you. 9.2.2018 23.12 "Mohamed Saleh" kirjoitti: > I hava a Django app on a windows server 2012 which was set up with sqlite3 > as the db, but

<    1   2   3   4   5   6   7   8   >