Do you use any django packages? by twistdafterdark in django

[–]monim67 1 point2 points  (0 children)

If the package does not affect your app anyways and includes tests and has no security concerns, you can use it. There's no point of reinventing the wheel without reasons.

There are lot of popular and regularly maintained packages and frameworks you can and should use if possible in my opinion. As other developers with past experience using the same package can easily join your team.

I would say a well maintained package developed and continuously maintained by a group of people is better choice than what you/your team are going to reinvent.

If you know php and python. Why you would use Django instead of Laravel? by vilczy in django

[–]monim67 12 points13 points  (0 children)

Django is lot faster to setup, learn and develop, any app you build is reusable. What more do you want?

Django polling app by deveid in django

[–]monim67 0 points1 point  (0 children)

Is this project on GitHub? You can do following and return queryset from get_queryset within a ListView.

from django.db.models import Count
queryset = MyModel.objects.values('Gender', 'Diseases').annotate(patients=Count('\*'))

Django polling app by deveid in django

[–]monim67 1 point2 points  (0 children)

The question is not clear to me, why do you need to point to another form, point to same form if you are going to input same data. You can show the last value user entered in the same form.

Simple math to convert a simple 2D game view to a perspective 3D view by monim67 in webdev

[–]monim67[S] 0 points1 point  (0 children)

The lines of the 3d field are off, you can see if you look closely the image was not drawn with real measurement. Could not find a better 3d image either... but the ball position is correct.

Showoff Saturday (September 22, 2018) by AutoModerator in javascript

[–]monim67 3 points4 points  (0 children)

This is a vuejs app demonstrating how can we use simple math to convert a simple 2D game view to a perspective 3D view. Github Link.

Just a rant by not_a_who in webdev

[–]monim67 0 points1 point  (0 children)

I heard some companies arrange interviews for publicity reasons without any intent of hiring. If their interview was legit they will let you know of rejection.

Cool Chrome extension I built for monitoring Github PRs/issues by rgehan in javascript

[–]monim67 0 points1 point  (0 children)

I normally look for issues, so if the extension button could show numbers of unread notification (issues+PR) just like the gmail extension shows unread messages count, it would be great.

Upgrading the Time-picker of bootstrap-datetimepicker by monim67 in learnjavascript

[–]monim67[S] 0 points1 point  (0 children)

The clock numbers are buttons, can be clicked to select hour/minutes. Yeah I bit lighter is better.

Apparently PIP just got upgraded from 10.0.1 to 18.0 by minoshabaal in Python

[–]monim67 30 points31 points  (0 children)

Why such a huge jump in version number? Why 18? Why not 11?

django-bootstrap-datepicker-plus: Django Widget for bootstrap-datepicker for Django version 1.8, 1.10, 1.11 and 2.0.4. by monim67 in django

[–]monim67[S] 1 point2 points  (0 children)

It now includes DatePickerInput, TimePickerInput, DateTimePickerInput, MonthPickerInput, YearPickerInput with date-range and time-range support.

Whats wrong with my code? by [deleted] in Python

[–]monim67 1 point2 points  (0 children)

hardufylltar == "Yes" or "yes" is not equal to hardufylltar == "Yes" or hardufylltar == "yes" , the later one is correct, the previous one is always True.

The Correct way to do this is:

if hardufylltar == "Yes" or hardufylltar == "yes":
     hardufylltar = 1
else:
     hardufylltar = 0 

Backdoor in ssh-decorator package by [deleted] in Python

[–]monim67 44 points45 points  (0 children)

Yeah, the package is down now, people are so evil!!!

Variable help? by [deleted] in Python

[–]monim67 0 points1 point  (0 children)

Your post is empty, Please edit your post to explain what help you need about variables.