Re: I have issue. I want to migrate database from sqlite3 to postgresql. With a table have 10M records. I need a solution for issue. Maybe help me?

2020-03-26 Thread Daniel Chimeno
One possible solution: $ createdb newdb $ pgloader ./test/sqlite/sqlite.db postgresql:///newdb https://github.com/dimitri/pgloader El miércoles, 25 de marzo de 2020, 17:45:54 (UTC+1), Thắng IT escribió: > > solution -- You received this message because you are subscribed to the Google

Re: External SSO for Django

2019-12-23 Thread Daniel Chimeno
Also interested El lunes, 23 de diciembre de 2019, 4:14:21 (UTC+1), Malik Brahimi escribió: > > Just had a question about integrating external auth with my React/Django > application. I'm using a provisioned client instance from my company so > it's not Google, Facebook, or all the other social

Re: Django DEBUG magic, and a bizarre bug under django-extra-views

2019-12-07 Thread Daniel Chimeno
+1 to more document about DEBUG magic. El sábado, 7 de diciembre de 2019, 0:08:41 (UTC+1), Alaina Rowe escribió: > > I have not been able to reproduce the bug I am about to describe when > DEBUG is True, whether in production on Apache or locally on the Django dev > server. So my first

Re: Public Django administrative database

2018-05-24 Thread Daniel Chimeno
Thanks all for your answer, the OS-Open seems to work well. -- 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

Public Django administrative database

2018-05-18 Thread Daniel Chimeno
Hi community! I'm involved in a project heavily related to administrative geographic entities in UK. (postal_sectors, postal areas, etc..) Although at the moment is only for UK, could be expanded to other countries. At first, I look into

Re: Django and asynchronous tasks

2016-11-10 Thread Daniel Chimeno
Hello, One simple approach is to persist the calculations in the database, then you can use a view to display them in another page. Hope it helps. El jueves, 10 de noviembre de 2016, 9:05:29 (UTC+1), Alain Muls escribió: > > Hi All > > I am building a website which makes calculations about the

Django support new released Plesk Onyx

2016-10-27 Thread Daniel Chimeno
Hello, Just wanted to share my thoughts here. Plesk (a major web control panel solution) has recently launched its new version 12.5 (Onyx). They finally support other programming languages and frameworks, before this they only support PHP. The marketing website (https://www.plesk.com/onyx/)

Re: No Downtime Code Releases

2016-04-20 Thread Daniel Chimeno
This can help you. https://medium.com/@healthchecks/deploying-a-django-app-with-no-downtime-f4e02738ab06#.dmyf7lk8y El martes, 19 de abril de 2016, 3:37:19 (UTC+2), bliy...@rentlytics.com escribió: > > Hey, > > I have two issues I'm looking at solving at work, and I'm looking for a > couple

Re: Fabric - Someone has a fabfile to build a Sentry server?

2016-04-05 Thread Daniel Chimeno
Hello, Sentry is a server by itself, following the installation docs you could install one. https://docs.getsentry.com/on-premise/server/ El martes, 5 de abril de 2016, 20:54:07 (UTC+2), Neto escribió: > > I need to build a server using nginx to run sentry, I needed a routine to > install all

Re: Generate different querysets depending of the website language

2016-03-27 Thread Daniel Chimeno
Hello again, In that case, I would double-check the middleware process and settings in your project. One reason could be your are placing LocaleMiddleware after your ForceDefaultLanguage, so https://github.com/django/django/blob/master/django/middleware/locale.py#L26 is setting the default

Re: Generate different querysets depending of the website language

2016-03-26 Thread Daniel Chimeno
Hello, If you are able to change the schema I would suggest you to use modeltranslation [https://github.com/deschler/django-modeltranslation], also the source code of that app can help you in order to take an specific approach to your project. About the URL's, if you use i18urls, it has

Re: how to implement lazy settings as django setting

2016-03-03 Thread Daniel Chimeno
Hello, https://www.djangopackages.com/grids/g/live-setting/ El miércoles, 2 de marzo de 2016, 16:53:09 (UTC+1), luisza14 escribió: > > I need to implement a lazy setting like django setting that could be call > globally in several apps but get his values from a model in database. > > I have

Re: Setting up django mailbox

2016-02-04 Thread Daniel Chimeno
endra Rathor wrote: >> >> Are you sure imap.company.com is handling your imap server and not >> imap.google.com? >> >> On Thu, 4 Feb 2016 at 23:24 Daniel Chimeno <dan...@chimeno.me> wrote: >> >>> Hello, >>> If you are writing about hi

Re: Handling cookies that contain illegal values

2016-02-04 Thread Daniel Chimeno
Hello, > > I have resolved this in my instance as follows in django/http/cookie.py: > > def parse_cookie(cookie): > cookie = re.sub('[^\x20-\x7e]+', 'X', cookie) > ... > > > > It would be preferable to write that code in a middleware than in the Django code itself. Before the middleware

Re: Setting up django mailbox

2016-02-04 Thread Daniel Chimeno
Hello, If you are writing about his project: https://github.com/coddingtonbear/django-mailbox I guess it's better to ask in the issues page of that project: https://github.com/coddingtonbear/django-mailbox/issues El jueves, 4 de febrero de 2016, 23:02:36 (UTC+1), learn django escribió: > >

Re: Scaling Django

2016-02-03 Thread Daniel Chimeno
As you said the project is using DRF for an API, it came to my mind some blog post I've read about it: - http://ses4j.github.io/2015/11/23/optimizing-slow-django-rest-framework-performance/ - https://www.dabapps.com/blog/api-performance-profiling-django-rest-framework/ -

Re: Manually setting the session cookie

2016-02-01 Thread Daniel Chimeno
Hello, I'm sure some time ago I saw an app where you can change the current user logged (something like ``su user``), I can't remember the name sorry. El lunes, 1 de febrero de 2016, 11:15:03 (UTC+1), monoBOT monoBOT escribió: > > Hello django! > > Im creating a saas with django, due to some

Re: Code organisation

2016-01-24 Thread Daniel Chimeno
Hello, It seems that if you need (blog, comments, image manipulation), are you developing a custom CMS? Maybe you find something useful here. https://www.djangopackages.com/grids/g/cms/ El viernes, 22 de enero de 2016, 15:31:07 (UTC+1), Benj escribió: > > Hello, > > i’m building my first site

Re: how many visitors has view my posts and how many visitors view my site

2016-01-22 Thread Daniel Chimeno
I would say the same, use Google Analytics or another platform like Piwik El viernes, 22 de enero de 2016, 17:09:34 (UTC+1), Lucas Magnum escribió: > > Thought about using Google Analytics for that? > > []'s > > Lucas Magnum. > > 2016-01-22 13:02 GMT-02:00 Xristos Xristoou >:

Re: beginner for Django and Python

2015-12-26 Thread Daniel Chimeno
Hello, As far as I know, the Django integration within PyCharm it's only the paid version, there is a official guide over here: https://www.jetbrains.com/pycharm/help/creating-django-project.html Hope it helps. El sábado, 26 de diciembre de 2015, 11:15:09 (UTC+1), Sahil Karkhanis escribió: >

Re: ajax POST request being sent as GET

2015-12-15 Thread Daniel Chimeno
Hello, This is more a jQuery issue than a Django one, but it could be because of the quotes. From: http://api.jquery.com/jquery.ajax/ var menuId = $( "ul.nav" ).first().attr( "id" ); var request = $.ajax({ url: "script.php", method: "POST", data: { id : menuId }, dataType: "html" });

Re: Gsoc 2016 contribution

2015-12-15 Thread Daniel Chimeno
Improve your Python skills. Improve/learn your Django skills. Stay tuned in the community :) El martes, 15 de diciembre de 2015, 18:54:51 (UTC+1), Yash Sharan escribió: > > hello my name is Yash Sharan and i'm a first year student at BITS Pilani > Goa campus,India. i know basic python.How can i

Re: Customizing Admin Layout and templates

2015-12-15 Thread Daniel Chimeno
Hello, If you want to build a CMS, you could use some apps or projects that are out there: https://www.djangopackages.com/grids/g/cms/ El martes, 15 de diciembre de 2015, 20:05:31 (UTC+1), Mayank Singhal escribió: > > Hello, > I am new to django. I want to customize the admin panel templates

Re: Multiple serializers

2015-12-11 Thread Daniel Chimeno
This question is more about DRF than Django itself, I haven't use it for a while so I can't answer you, but please, put the code in a proper format way or pastebin, and say the version you are using both Django and DRF in order other people can answer you.

Re: Como puedo regresar el ultimo elemento de mi base de datos

2015-11-20 Thread Daniel Chimeno
Hi, This is an english version of the Django forum, there is another one (not official) in: https://groups.google.com/forum/#!forum/django-es Also please, use dpaste services or similar for code. Regards, El viernes, 20 de noviembre de 2015, 17:19:55 (UTC+1), miguel angel lopez mendo

Re: Django deployment

2015-09-16 Thread Daniel Chimeno
El miércoles, 16 de septiembre de 2015, 15:20:32 (UTC+2), bobhaugen escribió: > > You gotta give PHP credit here. They did deployment better than anybody. > +1 > Django as a community could stand to put more concentrated work into > deployment. > That was my unique constraint in the last

Designing Model Widgets to Business Analytics app

2014-08-15 Thread Daniel Chimeno
First, Hello all. This is my first post here in django-users, hope I'm doing it well. This question is not django - specific but since I'm using our loved tool, I though it could be a good place to post it. I am developing a business analytics like app, and I have some models like this: