Re: Memcache

2020-02-12 Thread maninder singh Kumar
So memcache for caching is the advised way to go for it. It involves setting up setting.py for memcache, you would have to work out locations on the computer where it would be stored. Also strongly advisable, don't cache all your site, just the : difficult parts, reusable parts. [image: --]

Unit Testing POST request

2020-02-12 Thread onlinejudge95
Hi Devs, I was implementing unit-tests in my Django project and stumbled upon the following issue. I want to unit-test my POST route. I do not want to use the test client already shipped with Django (using it in my e2e tests). I want to know how do I prepare my request object to pass to my view.

Re: Memcache

2020-02-12 Thread Infinity Developer
https://devcenter.heroku.com/articles/django-memcache Refer this link On Tue, Feb 11, 2020 at 10:37 PM Soumen Khatua wrote: > Hi Folks, > Actually I want to implement memcache service into my project but I don't > know How to implement it with proper scalability. If anyone have any idea > or

Re: installation of django

2020-02-12 Thread Mehul Anshumali
Follow this link https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/development_environment On Wed, Feb 12, 2020, 1:00 PM paarull shukla wrote: > Ok so virtual environment I have to search in cmd or like google > > On Wed, 12 Feb, 2020, 12:50 PM Mehul Anshumali, < >

Django images to pdf conversion

2020-02-12 Thread Infinity Programmer
Dear folks You have to easily know them https://youtu.be/8IQuhH50bqc https://youtu.be/8IQuhH50bqc -- 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: field not editable after saving the first record

2020-02-12 Thread Infinity Programmer
https://youtu.be/8IQuhH50bqc https://youtu.be/8IQuhH50bqc https://youtu.be/8IQuhH50bqc https://youtu.be/8IQuhH50bqc Please refer this video On Wednesday, January 15, 2020 at 11:04:25 PM UTC+5:30, Harold A wrote: > > Hi everyone > I require your contributions to do the following. > > I have a

Re: installation of django

2020-02-12 Thread Sathiya S
try pip install --upgrade django On Wed, Feb 12, 2020 at 1:00 PM paarull shukla wrote: > Ok so virtual environment I have to search in cmd or like google > > On Wed, 12 Feb, 2020, 12:50 PM Mehul Anshumali, < > mehulanshumali...@gmail.com> wrote: > >> Try install virtual environment and in

Looking for an Intern Position

2020-02-12 Thread Jin
Hi, everyone. I've finished Django online course a few days ago and want to make it use in the industry. If you are in search of an intern for your project, kindly drop me a message. I will be fully available for next 2 months. Thanks in advance -- You received this message because you are

Re: AutoField & auto-incrementing

2020-02-12 Thread J. Guadalupe Chavez
El mar., 11 de febrero de 2020 4:27 p.m., Mike Dewhirst < mi...@dewhirst.com.au> escribió: > On 11/02/2020 7:06 pm, Bruckner de Villiers wrote: > > > > Jason, > > > > Thank you. I have changed the title of this mail. If I have read the > > 10 year old ticket 8576 correctly, it seems to be a DB

Images and pdfs for production level

2020-02-12 Thread Soumen Khatua
Hi Folks, Where I need to store images and pdfs for production level. Thank you in advance regards, Soumen -- 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: AutoField & auto-incrementing

2020-02-12 Thread Bruckner de Villiers
Thanks Mike - I have just become cleverer. Bruckner de Villiers 083 625 1086 On 2020/02/12, 09:55, "Mike Dewhirst" wrote: On 12/02/2020 6:11 pm, Bruckner de Villiers wrote: > Mike, > Clever. The save function seems to write a string of the id. So, self.formulation_no = "50-" +

makemessages fails

2020-02-12 Thread Yves de Champlain
Hi When I run django-admin makemessages -l fr I get Traceback (most recent call last): File "/opt/miniconda3/envs/cert_tool/lib/python3.7/site-packages/django/core/management/base.py" , line 323, in run_from_argv self.execute(*args, **cmd_options) File

Re: Images and pdfs for production level

2020-02-12 Thread Devender Kumar
Some CDN On Wed, 12 Feb, 2020, 7:18 pm Soumen Khatua, wrote: > Hi Folks, > Where I need to store images and pdfs for production level. > > Thank you in advance > > regards, > Soumen > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To

Re: Unit Testing POST request

2020-02-12 Thread onlinejudge95
Hi Guys, Any leads would be appreciated On Wed, Feb 12, 2020 at 6:22 PM onlinejudge95 wrote: > Hi Devs, > > I was implementing unit-tests in my Django project and stumbled upon the > following issue. > > I want to unit-test my POST route. I do not want to use the test client > already shipped

Re: makemessages fails

2020-02-12 Thread Yash Garg
Have you specified path to Locale directory in settings.py? On Wednesday, February 12, 2020 at 7:51:53 PM UTC+5:30, Yves de Champlain wrote: > > Hi > > When I run > > django-admin makemessages -l fr > > I get > > Traceback (most recent call last): > > File >

Re: Looking for an Intern Position

2020-02-12 Thread Anonymous Patel
Hey Jin This is Raj Here you have posted about internship in django we have project for you Kindly reply if you are interested Thank you On Wed, 12 Feb, 2020, 9:48 PM Jin, wrote: > Hi, everyone. > I've finished Django online course a few days ago and want to make it use > in the industry. > If

send django channels 2 messages to an individual user who might have more than one browser tab or device connected

2020-02-12 Thread Levent Engin
Hi all. I want to send Channels2 messages to an individual user who might have more than one browser tab or device connected. How can I do that. In documents it is said that "group_send" structure can be used. how can i implement that? Is there a sample code for this? Best Regards. Levent

Re: 404 error

2020-02-12 Thread Jorge Gimeno
On Wed, Feb 12, 2020 at 2:29 PM mahshid asadi wrote: > Hi everyone. Im a beginner. i use this sites tutorial and still i cant fix > the 404 error,please someone help me. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe

Re: AutoField & auto-incrementing

2020-02-12 Thread Mike Dewhirst
On 12/02/2020 6:54 pm, Mike Dewhirst wrote: def save(self, *args, **kwargs):     self._pre_save()    # stuff to be computed pre-save     super().save(*args, **kwargs)     self._post_save()   # stuff to be done after the save Also of occasional value ... def save(self, *args, **kwargs):    

filter objects dynamically on page render based on button click (beginner question)

2020-02-12 Thread Phil Kauffman
Hello, I am struggling with trying to filter child objects based on parent object selection on index.html (sites.html in example). On my sites.html, I list the office sites and a button to click for each, upon clicking I want to load the profile list for users only at that site, presently it's

Re: Unit Testing POST request

2020-02-12 Thread onlinejudge95
On Wed, Feb 12, 2020 at 6:22 PM onlinejudge95 wrote: > Hi Devs, > > I was implementing unit-tests in my Django project and stumbled upon the > following issue. > > I want to unit-test my POST route. I do not want to use the test client > already shipped with Django (using it in my e2e tests). I

404 error

2020-02-12 Thread mahshid asadi
Hi everyone. Im a beginner. i use this sites tutorial and still i cant fix the 404 error,please someone help me. -- 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

Re: makemessages fails

2020-02-12 Thread Yves de Champlain
Hi I have ROOT_DIR = environ.Path(__file__) - 3 # (base_dir/config/settings/common.py - 3 = base_dir/) PROJ_DIR = ROOT_DIR LOCALE_PATHS = [ PROJ_DIR('locale'), ] Could it be the source of the problem ? Thanks ! Le mercredi 12 février 2020 12:53:06 UTC-5, Yash Garg a écrit : > > Have

Re: Looking for an Intern Position

2020-02-12 Thread paarull shukla
Heloo, sir I m looking for intern. Please help me..i will be very thankful to you On Wed, 12 Feb, 2020, 9:48 PM Jin, wrote: > Hi, everyone. > I've finished Django online course a few days ago and want to make it use > in the industry. > If you are in search of an intern for your project, kindly

Re: Looking for an Intern Position

2020-02-12 Thread paarull shukla
Heloo sir. I m looking for intern.. Please help me.. I want to start my carrier.. Please help me.. I will be very thankful to you On Wed, 12 Feb, 2020, 11:06 PM Anonymous Patel, wrote: > Hey Jin > This is Raj Here you have posted about internship in django we have > project for you > Kindly

Re: AutoField & auto-incrementing

2020-02-12 Thread Bruckner de Villiers
Useful, thanks Mike. Bruckner de Villiers 083 625 1086 On 2020/02/12, 23:18, "Mike Dewhirst" wrote: On 12/02/2020 6:54 pm, Mike Dewhirst wrote: > def save(self, *args, **kwargs): > self._pre_save()# stuff to be computed pre-save > super().save(*args, **kwargs)

Django Hands On with Industry Oriented application

2020-02-12 Thread Saswat Ray
Hi, I am starting a new online batch to make student or professional to learn this most sought after web development experience.Let me know if anyone interested.Its a weekend online paid session.After successfully completed the session with task, i can refer candidates to my connections(please

Re: makemessages fails

2020-02-12 Thread Yash Garg
Go through i18n official documentation and specify path according to that. On Thu 13 Feb, 2020, 10:25 AM Yves de Champlain, wrote: > Hi > > I have > > ROOT_DIR = environ.Path(__file__) - 3 # > (base_dir/config/settings/common.py - 3 = base_dir/) > PROJ_DIR = ROOT_DIR > > LOCALE_PATHS = [ >

Re: installation of django

2020-02-12 Thread paarull shukla
Sir please help me out. I m not able to install it.. Getting trouble since 5 days back On Thu, 13 Feb, 2020, 5:29 AM Dimitri Forster, wrote: > Hey Paarul, > > The problem is that you are trying to call pip from the command prompt > directly. > Try *py -m pip install django* and it should work.

Re: installation of django

2020-02-12 Thread Dimitri Forster
Hey Paarul, The problem is that you are trying to call pip from the command prompt directly. Try *py -m pip install django* and it should work. Better yet you could: 1. first create a new directory in a location of your choice ; >* md directory_name* 2. Go to the newly created

Re: filter objects dynamically on page render based on button click (beginner question)

2020-02-12 Thread Bill Freeman
What happens in the browser stays in the browser, unless you do something about it. Forgive me if I'm being too basic below: There are three approaches to click and see a filtering change, with trade offs in performance, complexity, and the impact if the user's browser is on a humble box. 1.

Re: 404 error

2020-02-12 Thread Chucky Mada Madamombe
Hi, 404 error means Django searched your urls.py file and cannot find the requested page. Take screen shot of your urls.py and views.py and traceback. That may help us to figure out the problem. Regards Chuck G. Madamombe NAM: +264 81 842 1284 RSA: +27 78 208 7034 Twitter: @chuckygari Skype:

Re: Images and pdfs for production level

2020-02-12 Thread Soumen Khatua
Yes,I want to use CDN for my static files. But I don't know how to implement it. On Wed, Feb 12, 2020 at 9:04 PM Devender Kumar wrote: > Some CDN > > On Wed, 12 Feb, 2020, 7:18 pm Soumen Khatua, > wrote: > >> Hi Folks, >> Where I need to store images and pdfs for production level. >> >> Thank

Re: Django Hands On with Industry Oriented application

2020-02-12 Thread Saswat Ray
Please contact to 8885505922 for detail or direct mail me your contact number *Thanks*, *Saswat* https://www.linkedin.com/in/saswat-ray-27313316/ https://www.quora.com/profile/Saswat-Ray On Thu, Feb 13, 2020 at 12:30 PM paarull shukla wrote: > Heloo sir I want to join ur session please let

Re: Django Hands On with Industry Oriented application

2020-02-12 Thread paarull shukla
Heloo sir I want to join ur session please let me know how much charge I have to make and where. On Thu, 13 Feb, 2020, 11:50 AM Saswat Ray, wrote: > Hi, > > I am starting a new online batch to make student or professional to learn > this most sought after web development experience.Let me know