Creating a Custom User Model Extending AbstractUser

2019-05-01 Thread sagar ninave
i want to know what is custom user model and how we use and where -- 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

Re: Genetic Algorithm for generating timetable

2019-05-01 Thread Britto .
Thanks a lot Christian, this is good, Pulp is great in solving LP. Regards Britto On Wed, 1 May 2019 at 14:47, Christian Ledermann < christian.lederm...@gmail.com> wrote: > Have a look at https://www.youtube.com/watch?v=OkusHEBOhmQ > > On Tue, 30 Apr 2019 at 17:41, Britto . wrote: > >> No

architecture for Blue/Green deployments

2019-05-01 Thread dansmood
My organization is moving into the AWS cloud, and with some other projects using MongoDB, ElasticSearch and a web application framework that is not Django, we've had no problem. I'm our "Systems/Applications Architect", and some years ago I helped choose Django over some other solutions. I

Populating timetable

2019-05-01 Thread Britto .
We have to populate a timetable with subjects. What would be the best approach? In our sample timetable there are 25 hours (keys), all the FH value should be replaced with random subjects as many as their corresponding hour. timetable = [{'A1': "FH", 'B1': "FH", 'C1': "FH", 'D1': "FH", 'E1':

Re: Forms in Bootstrap 4 Modals?

2019-05-01 Thread Syed .Sayem
Can you check does it work? Make change as you required " By container = By.xpath("//*[@id=\"wishlistlogin\"]/div"); WebDriverWait wait = new WebDriverWait(driver, 10); wait.until(ExpectedConditions.presenceOfAllElementsLocatedBy(container)); WebElement

Re: Django session

2019-05-01 Thread animeshagrawaal
For using file-based sessions, you have to set the setting of SESSION_ENGINE to django.contib.sessions.backends.file You will also have to make sure that your web server has permissions to read and write the directory of the session file. There are 3 more ways to configure session engine in

Re: Autoreloader looping Django 2.2

2019-05-01 Thread Dan
Hi Ramiro Thanks for answering. Tried stable 2.2.1 and it looks like it is working ok now. The folder is a virtualbox shared folder, shared from an osx host. Thanks for your help! On Tuesday, April 30, 2019 at 12:33:58 AM UTC+2, Ramiro Morales wrote: > > Hi Dan, > > On Fri, Apr 26, 2019 at

Serving Files with Django

2019-05-01 Thread simonojok19
Hello! Am currently working on a web app which allows user to upload files of less that 1 gb size in any office formates like pdf, docx and some other extentions for programs like .h, .py, .kt, .java. Is there any framework or app that i can extend and make the file handling work? These files

Django session

2019-05-01 Thread Aakash Bachheriya
How i can configure session engine in Django through File based sessions? -- 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: Genetic Algorithm for generating timetable

2019-05-01 Thread Christian Ledermann
Have a look at https://www.youtube.com/watch?v=OkusHEBOhmQ On Tue, 30 Apr 2019 at 17:41, Britto . wrote: > No one knows about genetic algorithm with Django > > On Mon, 22 Apr, 2019, 5:09 PM brittocj, wrote: > >> How to implement genetic algorithm in Django to develop a web application >>

Django bugfix release 2.2.1

2019-05-01 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2019/may/01/django-bugfix-release-221/ -- 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,

Search and display results using calendar in Django

2019-05-01 Thread Aakash Baranwal
Hi Everybody, I need help. I want to perform search operation using calendars. I shall select two dates i.e. max_date which shall not be more than the current date but can be less and min_date, these two shall be the days range. The result fields are: in_count, out_count, and dwell_time. The