How to resolve UPPER_CASE naming issues in pylint

2019-03-29 Thread Dennis Alabi
My program throw up this error >>Constant name "movie_resource" doesn't 
conform to UPPER_CASE naming stylepylint(invalid-name)





"""vidly URL Configuration

The `urlpatterns` list routes URLs to views. For more information please 
see:
https://docs.djangoproject.com/en/2.1/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path('', views.home, name='home')
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: path('', Home.as_view(), name='home')
Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path, include
from api.models import MovieResource

movie_resource = MovieResource()


urlpatterns = [
path('admin/', admin.site.urls),
path('movies/', include('movies.urls')),
path('api/', include('movie_resource.urls'))
]

-- 
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 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/a91173a8-058c-4b4a-a7db-183be3567e76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Regarding internship opportunity in Bangalore

2019-03-29 Thread Nanjuki Saidat
Hi all
I would also like to apply for the internship.Thanks

On Thu, 28 Mar 2019 at 22:11, Akash Purandare  wrote:

> Hey Sachin
>
> If you might be interested in Full Stack Development of a Website, please
> do send me your CV.
>
> We work in a startup called Oversight.
>
> Regards
> Akash Purandare
> akash.p1...@gmail.com
>
> On Thursday, March 28, 2019 at 11:24:18 PM UTC+5:30, sachin thakur wrote:
>>
>> Hi Folks
>> This email is regarding internship opportunity if there are any
>> internship opportunity please do let me know I am already working on django
>> also I developed web based applications using jsp servlet and hibernate.
>> Please do let me know if any opportunity is available
>>
> --
> 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 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/28a17b1a-d92b-47c7-acd0-ab79fe9c22b8%40googlegroups.com
> 
> .
> For more options, 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...@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/CAHrBrjDNka4f9QRb2ZCSnve1AqsH3VM0dJCfWVtHvJtB-Y6F0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to find out if instagram accept the username and password of the bot?

2019-03-29 Thread Saeed Pooladzadeh

I know what you mean but if the user inserts a wrong user and password what 
happens?
در جمعه 29 مارس 2019، ساعت 23:48:26 (UTC+4:30)، Gourav Sardana نوشته:
>
> You have to make a form.py and define your form there. 
> In the views you have to make a validation for the username and the 
> password.
>
> On Sat, 30 Mar 2019, 12:44 am Saeed Pooladzadeh,  > wrote:
>
>> Hello,
>>
>> I'm a beginner at Django and Python and now plan to make a simple bot 
>> site for Instagram with instabot:
>>
>>
>> https://github.com/instabot-py/instabot.py
>>
>> My problem is how can I find out if Instagram accept the username and 
>> password of the user or the username and password is wrong. How can I warn 
>> the user?
>>
>> thanks,
>> Saeed
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@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/eac56b27-f17a-4fc9-8476-41f61feae520%40googlegroups.com
>>  
>> 
>> .
>> For more options, 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...@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/cdd5ea94-8990-45b7-b011-a1bc68982630%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to find out if instagram accept the username and password of the bot?

2019-03-29 Thread Gourav Sardana
You have to make a form.py and define your form there.
In the views you have to make a validation for the username and the
password.

On Sat, 30 Mar 2019, 12:44 am Saeed Pooladzadeh, 
wrote:

> Hello,
>
> I'm a beginner at Django and Python and now plan to make a simple bot site
> for Instagram with instabot:
>
>
> https://github.com/instabot-py/instabot.py
>
> My problem is how can I find out if Instagram accept the username and
> password of the user or the username and password is wrong. How can I warn
> the user?
>
> thanks,
> Saeed
>
> --
> 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 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/eac56b27-f17a-4fc9-8476-41f61feae520%40googlegroups.com
> 
> .
> For more options, 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...@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/CACdXjQJRB%2Bazcr4-LzBzDz%3DhKSX7fktEtMOYii2mdXJhzqYNkw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


how to find out if instagram accept the username and password of the bot?

2019-03-29 Thread Saeed Pooladzadeh
Hello,

I'm a beginner at Django and Python and now plan to make a simple bot site 
for Instagram with instabot:


https://github.com/instabot-py/instabot.py

My problem is how can I find out if Instagram accept the username and 
password of the user or the username and password is wrong. How can I warn 
the user?

thanks,
Saeed

-- 
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 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/eac56b27-f17a-4fc9-8476-41f61feae520%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: I am on a e-commerce website on a video from youtube and I am having problems with stripe

2019-03-29 Thread Chetan Ganji
 I am not sure about this.

But the issue seems to be that the user in question has a stripe account
and that stripe account does not have any cards associated with the
account. Maybe try adding a card to the account, if it does not have any.
If it has, delete it and create a new one. See if it helps.


Regards,
Chetan Ganji
+91-900-483-4183
ganji.che...@gmail.com
http://ryucoder.in



I’m
protected online with Avast Free Antivirus. Get it here — it’s free forever.

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

On Fri, Mar 29, 2019 at 6:16 PM Patrice Chaula  wrote:

> I am using Stripe to process payments from my website. Yesterday it was
> working ok. That was before I changed code my code so It can process
> payments using a customer_id. I am using test keys
>
>  My code below. Help I'm still a beginner in django. I'm sorry my English
> is bad.
>
> from django.shortcuts import render
> from django.contrib.auth.decorators import login_required
> from django.conf import settings
> import stripe
>
>
> stripe.api_key =  settings.STRIPE_SECRET_KEY
> # Create your views here.
> @login_required
> def checkout(request):
>  publishKey = settings.STRIPE_PUBLISHABLE_KEY
>customer_id = request.user.userstripe.stripe_id
> print(customer_id)
>  if request.method == 'POST':
>customer = stripe.Customer.retrieve(customer_id)
>token = request.POST['stripeToken']
> charge = stripe.Charge.create(
>  amount = 1000,
>  currency = 'usd',
>   customer = customer,
>description = 'Example Charge',
> )
>   context = {'publishKey':publishKey}
> template = 'checkout.html'
>  return render(request, template, context)
>
>
> The error I am getting is below
>
> File "C:\Program
> Files\Python37-32\lib\site-packages\django\core\handlers\exception.py" in
> inner
>   34. response = get_response(request)
>
> File "C:\Program
> Files\Python37-32\lib\site-packages\django\core\handlers\base.py" in
> _get_response
>   126. response = self.process_exception_by_middleware(e,
> request)
>
> File "C:\Program
> Files\Python37-32\lib\site-packages\django\core\handlers\base.py" in
> _get_response
>   124. response = wrapped_callback(request,
> *callback_args, **callback_kwargs)
>
> File "C:\Program
> Files\Python37-32\lib\site-packages\django\contrib\auth\decorators.py" in
> _wrapped_view
>   21. return view_func(request, *args, **kwargs)
>
> File "C:\Users\Patrice\Desktop\ecommerce web\ecommerce\checkout\views.py"
> in checkout
>   22. description = 'Example Charge',
>
> File "C:\Program
> Files\Python37-32\lib\site-packages\stripe\api_resources\abstract\createable_api_resource.py"
> in create
>   22. response, api_key = requestor.request("post", url, params,
> headers)
>
> File "C:\Program
> Files\Python37-32\lib\site-packages\stripe\api_requestor.py" in request
>   121. resp = self.interpret_response(rbody, rcode, rheaders)
>
> File "C:\Program
> Files\Python37-32\lib\site-packages\stripe\api_requestor.py" in
> interpret_response
>   372. self.handle_error_response(rbody, rcode, resp.data,
> rheaders)
>
> File "C:\Program
> Files\Python37-32\lib\site-packages\stripe\api_requestor.py" in
> handle_error_response
>   151. raise err
>
> Exception Type: CardError at /checkout/
> Exception Value: Request req_En9Ipi3bygWUWY: Cannot charge a customer that
> has no active card
>
>
>
>
>
> --
> 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 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/04423272-5bf9-4b26-9963-c180b926c909%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


I’m
protected online with Avast Free Antivirus. Get it here — it’s free forever.


Re: Need some sample project coding in Django t

2019-03-29 Thread Aayush Bhattarai
Hey you can see my Django blog on GitHub.
https://github.com/coder-Aayush/django_blog

-- 
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 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/3abdc3aa-0b9c-4ff4-8943-5e77f0329ccd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Nosql database for Django

2019-03-29 Thread Nikos Anapliotis
you could check out the djongo engine.


On Fri, Mar 29, 2019 at 1:36 PM Balkesh Choudhary 
wrote:

> I want to use a  Nosql database for Django, and it is officially not
> supported by Django, is there any way?
>
> --
> 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 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/0ab4a225-7bfa-425e-87fb-f11c1f27a9d9%40googlegroups.com
> 
> .
> For more options, 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...@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/CAHyHuGMb-5%3Dwx-1yC5t9q7XvgiFq6aaaB%3DDyjXcO7guKjWipdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


I am on a e-commerce website on a video from youtube and I am having problems with stripe

2019-03-29 Thread Patrice Chaula
I am using Stripe to process payments from my website. Yesterday it was 
working ok. That was before I changed code my code so It can process 
payments using a customer_id. I am using test keys

 My code below. Help I'm still a beginner in django. I'm sorry my English 
is bad. 

from django.shortcuts import render
from django.contrib.auth.decorators import login_required
from django.conf import settings
import stripe


stripe.api_key =  settings.STRIPE_SECRET_KEY
# Create your views here.
@login_required
def checkout(request):
 publishKey = settings.STRIPE_PUBLISHABLE_KEY
   customer_id = request.user.userstripe.stripe_id
print(customer_id)
 if request.method == 'POST':
   customer = stripe.Customer.retrieve(customer_id)
   token = request.POST['stripeToken']
charge = stripe.Charge.create(
 amount = 1000,
 currency = 'usd',
  customer = customer,
   description = 'Example Charge',
)
  context = {'publishKey':publishKey}
template = 'checkout.html'
 return render(request, template, context)


The error I am getting is below

File "C:\Program 
Files\Python37-32\lib\site-packages\django\core\handlers\exception.py" in 
inner
  34. response = get_response(request)

File "C:\Program 
Files\Python37-32\lib\site-packages\django\core\handlers\base.py" in 
_get_response
  126. response = self.process_exception_by_middleware(e, 
request)

File "C:\Program 
Files\Python37-32\lib\site-packages\django\core\handlers\base.py" in 
_get_response
  124. response = wrapped_callback(request, *callback_args, 
**callback_kwargs)

File "C:\Program 
Files\Python37-32\lib\site-packages\django\contrib\auth\decorators.py" in 
_wrapped_view
  21. return view_func(request, *args, **kwargs)

File "C:\Users\Patrice\Desktop\ecommerce web\ecommerce\checkout\views.py" 
in checkout
  22. description = 'Example Charge',

File "C:\Program 
Files\Python37-32\lib\site-packages\stripe\api_resources\abstract\createable_api_resource.py"
 
in create
  22. response, api_key = requestor.request("post", url, params, 
headers)

File "C:\Program 
Files\Python37-32\lib\site-packages\stripe\api_requestor.py" in request
  121. resp = self.interpret_response(rbody, rcode, rheaders)

File "C:\Program 
Files\Python37-32\lib\site-packages\stripe\api_requestor.py" in 
interpret_response
  372. self.handle_error_response(rbody, rcode, resp.data, 
rheaders)

File "C:\Program 
Files\Python37-32\lib\site-packages\stripe\api_requestor.py" in 
handle_error_response
  151. raise err

Exception Type: CardError at /checkout/
Exception Value: Request req_En9Ipi3bygWUWY: Cannot charge a customer that 
has no active card





-- 
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 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/04423272-5bf9-4b26-9963-c180b926c909%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Newbie question : running the makemigrations command in the terminal

2019-03-29 Thread Krishna Tulsyan
Hi,
can you provide the folder structure of your app, and apps.py file
ensure that the name of the app is 'munichlivin_app' and name of the class 
in apps.py is 'MunichLivingConfig'

On Thursday, March 28, 2019 at 9:05:46 PM UTC+5:30, kamiba...@gmail.com 
wrote:
>
> Hello,
>
> (Newbie here): I am trying to run the makemigrations icommand in my 
> terminal. You will find here below the three relevant files, the third one 
> showing the errors displayed in 
> the terminal. 
>
> My settings.py file:
>
>
> https://pastebin.com/raw/xLpX0Zfg
>
>
> My models.py file: 
>
> https://pastebin.com/raw/wYfSy8ET
>
>
> The terminal entry (with the errors)
>
>
> https://pastebin.com/raw/Pmpnepf1
>
>
> Thank you for your time and your help.
>
>
> K.
>

-- 
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 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/67c7a2fd-0697-45bf-b591-d7d0b0bdcfbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-03-29 Thread Balkesh Choudhary
you can upgrade directly from 1.11 to 2.2, but some of third party packages
may not support Django 2.2

‪On Fri, Mar 29, 2019 at 2:22 PM ‫אורי‬‎  wrote:‬

> Hi,
>
> I want to upgrade Django from 1.11 to 2.2. Do I have to upgrade first to
> 2.0 and then to 2.1, or can I upgrade directly from 1.11 to 2.2?
>
> By the way, we use many third-party packages and I'm not sure which
> version of Django they support. Maybe not all of them already support
> Django 2.2.
>
> Thanks!
> אורי
> u...@speedy.net
>
> --
> 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 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/CABD5YeGDTteqPxsxq6rTQ4D8rLX%3D2nER61gBXMueSM088HWuoA%40mail.gmail.com
> 
> .
> For more options, 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...@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/CANJ0LkapZOEnRhn8g7cbTkpLwEZS2rCrZhiyBbiHXqyXZCvc3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: What's the difference between using mariadb as database and using mysql?

2019-03-29 Thread swisstech08
Hi K Porter,
Thank you for the info. The application that stores that in the MySql DB 
has a requirement it to b MySql and I was told MariaDB will not be 
supported. I assume I can also build a MariaDB test instance and verify the 
application can read/write to the database.



On Monday, March 4, 2019 at 7:46:20 AM UTC-6, Petr B. wrote:
>
> just use postgresql
>
> четверг, 28 февраля 2019 г., 19:35:03 UTC+7 пользователь x w написал:
>>
>> I'm using a Linux distribution called manjaro and mysql has been replaced 
>> with mariabd in the official repository. When I use maridb as database, 
>> what is the difference with mysql? Is there something special that I should 
>> pay attention to?
>>
>

-- 
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 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/5a82416a-7054-40be-9224-214326768309%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Help in connecting django to NoSql

2019-03-29 Thread dilip jain
Hi,
 My name is Dilip. I want to use no sql database for my django website can 
anyone help me  in this and guide me for best suited Nosql Database.

-- 
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 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/1cefb360-735b-4c54-95cb-18ad6063d997%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Need some sample project coding in Django t

2019-03-29 Thread Krishna Tulsyan
Hi,
mozilla also has a very good django tutorial that includes a project that 
they gradually work on.

https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django

On Thursday, March 28, 2019 at 7:29:12 PM UTC+5:30, Anbarasi Ayyannan wrote:
>
> Hi,
>  I am Django learner need some help for learning.Can you please help me 
> with providing me some sample project ? so that i can understand better.
>
> Regards,
> Anbarasi 
>

-- 
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 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/d90e2a9e-d686-44d8-9e00-ec8516f19659%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Regarding internship opportunity in Bangalore

2019-03-29 Thread aditya singh
Hi Akash
I would also like to apply for the summer internship programme

On Fri, Mar 29, 2019, 13:20 sachin thakur 
wrote:

> Hi Akash
> Yes I have sent you my resume I would request you to give me a call I have
> mentioned the reason  in resume email
>
> On Fri 29 Mar, 2019, 12:41 AM Akash Purandare, 
> wrote:
>
>> Hey Sachin
>>
>> If you might be interested in Full Stack Development of a Website, please
>> do send me your CV.
>>
>> We work in a startup called Oversight.
>>
>> Regards
>> Akash Purandare
>> akash.p1...@gmail.com
>>
>> On Thursday, March 28, 2019 at 11:24:18 PM UTC+5:30, sachin thakur wrote:
>>>
>>> Hi Folks
>>> This email is regarding internship opportunity if there are any
>>> internship opportunity please do let me know I am already working on django
>>> also I developed web based applications using jsp servlet and hibernate.
>>> Please do let me know if any opportunity is available
>>>
>> --
>> 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 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/28a17b1a-d92b-47c7-acd0-ab79fe9c22b8%40googlegroups.com
>> 
>> .
>> For more options, 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...@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/CA%2BLmcYvD8jwWdUNHK%2BDfHW9XPm4DmzQPxw%3D352pKnyOzobtTWg%40mail.gmail.com
> 
> .
> For more options, 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...@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/CAAfrD_S7_diRALz6rJwf4%2BpJ-Sj7EWHXgdbMpmJ4%2BE5RLoshdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Nosql database for Django

2019-03-29 Thread Balkesh Choudhary
I want to use a  Nosql database for Django, and it is officially not 
supported by Django, is there any way?

-- 
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 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/0ab4a225-7bfa-425e-87fb-f11c1f27a9d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: There's any django app for calendar?

2019-03-29 Thread Fellipe Henrique
Thanks Guys.. I'll take a look...


T.·.F.·.A.·. S+F
*Fellipe Henrique P. Soares*

e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge'
*Fedora Ambassador: https://fedoraproject.org/wiki/User:Fellipeh
*
*Blog: *http:www.fellipeh.eti.br
*GitHub: https://github.com/fellipeh *
*Twitter: @fh_bash*


On Thu, Mar 28, 2019 at 3:31 PM Kasper Laudrup 
wrote:

> Hi Fellipe,
>
> On 28/03/2019 14.45, Fellipe Henrique wrote:
> > Hello guys,  tried to search on google, but no lucky..
> >
> > Anyone knows any django app for calendar, to set appointments,
> > hour/day... with frontend?
> >
>
>
> I had sort of the same issue a while ago. I wanted a simple booking
> system for a website for my familys summer house.
>
> None of the existing apps that others have kindly linked to really
> filled my requirements. To be honest, I can't remember exactly why, but
> I think they were either too complex for my needs or where simply
> designed for something else.
>
> In the end I started hacking around with the python calendar module from
> the standard library:
>
> https://docs.python.org/3/library/calendar.html
>
> Which has a nice HTMLCalendar class which can be used for generating a
> calendar. It can be "sort of" customized with CSS classes, but in the
> end I ended up copy-pasting the HTMLCalendar code and customizing it for
> my needs, primarily because I needed bit more than just custom CSS.
>
> Feel free to have a look here:
>
> https://github.com/laudrup/ebbamaala
>
> Specifically, there's a custom tag for rendering the calendar here:
>
>
> https://github.com/laudrup/ebbamaala/blob/master/website/templatetags/calendar.py
>
> Of course, you also need the booking model etc. to show and handle new
> bookings etc.
>
> Not sure if this is the right way to do it and I'm far from being and
> expert in Django (or Python for that matter), but hope it might be useful.
>
> If someone else can tell me some better way to do it, I'd be very
> interested as well :-)
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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 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/273e1f23-b8e4-31d8-d519-2d10e3898e6d%40stacktrace.dk
> .
> For more options, 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...@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/CAF1jwZG0%3DKebLiwZRKuDNoYSCetJfvOz_mCO0DkWk%3D3xiciQTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-03-29 Thread Ahmed Ishtiaque
I'd suggest not worrying too much about upgrading to 2.2 right away. Since
it's going to be an LTS release, the projects your project depends on will
probably consider adding 2.2 support fairly fast.

But if you want to give it a shot anyway, I'd suggest taking a look at what
changed from 1.11 to 2.0, and trying a version bump and checking which of
your tests fail. As far as I'm concerned, there shouldn't be too many
differences between the django 2.x versions.

There's also a guide provided by the official docs here:
https://docs.djangoproject.com/en/2.1/howto/upgrade-version/

Hope this helps.

On Fri, Mar 29, 2019, 4:52 AM אורי  wrote:

> Hi,
>
> I want to upgrade Django from 1.11 to 2.2. Do I have to upgrade first to
> 2.0 and then to 2.1, or can I upgrade directly from 1.11 to 2.2?
>
> By the way, we use many third-party packages and I'm not sure which
> version of Django they support. Maybe not all of them already support
> Django 2.2.
>
> Thanks!
> אורי
> u...@speedy.net
>
> --
> 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 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/CABD5YeGDTteqPxsxq6rTQ4D8rLX%3D2nER61gBXMueSM088HWuoA%40mail.gmail.com
> 
> .
> For more options, 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...@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/CAKizqR7vtdO48SKAv7%3D-LcpmamT8fK9ckO_0EY-Z61EdQZZnRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgrading Django from 1.11 to 2.2

2019-03-29 Thread Anirudh Jain
First use 'pip freeze' in your virtual env to see all the packages
installed. Then checkout their official, latest documentation to see
whether they support django2.1 or not.

 Even if all them do, you might need to make a lot of changes in your code
after upgrade.

And no, you dont need to install django2 install django2.1.

If you have checked libraries and are sure to upgrade then first uninstall
prev version using 'pip uninstall django' and install the latest
stable version by sinply using 'pip install django'

On Fri, 29 Mar 2019, 14:22 אורי,  wrote:

> Hi,
>
> I want to upgrade Django from 1.11 to 2.2. Do I have to upgrade first to
> 2.0 and then to 2.1, or can I upgrade directly from 1.11 to 2.2?
>
> By the way, we use many third-party packages and I'm not sure which
> version of Django they support. Maybe not all of them already support
> Django 2.2.
>
> Thanks!
> אורי
> u...@speedy.net
>
> --
> 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 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/CABD5YeGDTteqPxsxq6rTQ4D8rLX%3D2nER61gBXMueSM088HWuoA%40mail.gmail.com
> 
> .
> For more options, 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...@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/CAC3mK7feiC0SQ7PNJJHqNbs13f_2pHeyBnGUXFYLrMV%3DCt8XoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Nameless FileField

2019-03-29 Thread guettli
I think the current FileField is nice for some use cases,
but for other use cases it is too complicated.

Example:

class MyProfile(models.Model):
picture = models.FileField()


If profile of user "foo" uses "foo.jpg" as picture,
and user "bar" uses "foo.jpg", too. Then
the profile picture of "bar" will overwrite the picture
of "foo.jpg".

I know that there are ways to work-around this.

But why not provide a more convenient way in future
releases of Django?

But maybe I am missing something.

Wouldn't it be nice, if there would be a nameless FileField?

I don't want to care about the name of the file. It can
be a uuid or other random data.

If you want to store some data like a blob, like BinaryField. 
But, I don't want to store the blob in the
database, like BinaryField does. I would like to use a plugable storage.

Up to now you can't easily use FileField in create() or get_or_create().

It would be nice if you could use a nameless FileField like this:

MyProfile.objects.create(picture=b'binarydata...')


What do you think about this idea?

Is it worth talking to django-developers, or is there already a solution,
which I just do not know up to now?

Regards,
  Thomas Güttler

-- 
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 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/560930c8-ce69-4af9-8128-7f0043612345%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Upgrading Django from 1.11 to 2.2

2019-03-29 Thread אורי
Hi,

I want to upgrade Django from 1.11 to 2.2. Do I have to upgrade first to
2.0 and then to 2.1, or can I upgrade directly from 1.11 to 2.2?

By the way, we use many third-party packages and I'm not sure which version
of Django they support. Maybe not all of them already support Django 2.2.

Thanks!
אורי
u...@speedy.net

-- 
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 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/CABD5YeGDTteqPxsxq6rTQ4D8rLX%3D2nER61gBXMueSM088HWuoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installation Question

2019-03-29 Thread Aldian Fazrihady
Starting from Python 3.6, we don't need 3rd party virtualenv library.

 We can just do this:

python3.7 -m venv /path/to/env/

https://docs.python.org/3/library/venv.html

 Regards,

 Aldian Fazrihady


On Thu, 28 Mar 2019, 23:32 Michael Achterberg, 
wrote:

> I've installed Python 3.7 which comes with pip installed. When I try to
> create a virtualenv I get a SyntaxError: invalid syntax
>
> What am I doing wrong?
>
>
> Regards,
>
> Michael Achterberg
> E-mail: mich...@achterberg.org.za
>
> --
> 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 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/gbimmpfv2sa1f3o8032dbxih.1553790005386%40email.android.com
> 
> .
> For more options, 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...@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/CAN7EoAZcbccaFC7et5rnPUdNzMpyT2jRXPDJxmXU_JpvR5U6DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installation Question

2019-03-29 Thread Anirudh Jain
that's because you want to use python 3.7 but by default it is using python
2.7

Try this to install virutal env: pip install -p python3 virtualenv

On Fri, 29 Mar 2019, 13:15 Michael Achterberg, 
wrote:

> When I run
>
> Pip install virtualenv
>
> I still get the SyntaxError: invalid syntax
>
>
> Regards,
>
> Michael Achterberg
> E-mail: mich...@achterberg.org.za
>
>
>  Original message 
> From: KONE GOMPOU LOUA ALASSANE 
> Date: 28/03/2019 18:57 (GMT+02:00)
> To: django-users@googlegroups.com
> Subject: Re: Installation Question
>
> You must install  virtualenv first,
>
> Le jeu. 28 mars 2019 16:55, Sandip Nath  a écrit :
>
>> Definitely will help you with your installation. But first reply to the
>> questions. Because the remedy will depend on your reply.
>>
>> On Thursday, 28 March 2019 22:02:08 UTC+5:30, michael wrote:
>>>
>>> I've installed Python 3.7 which comes with pip installed. When I try to
>>> create a virtualenv I get a SyntaxError: invalid syntax
>>>
>>> What am I doing wrong?
>>>
>>>
>>> Regards,
>>>
>>> Michael Achterberg
>>> E-mail: mic...@achterberg.org.za
>>>
>> --
>> 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 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/2e63c3dc-283b-4498-9e49-d44f75f871ee%40googlegroups.com
>> 
>> .
>> For more options, 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...@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/CANoHCssQpRLwV6GorXjzrzLFxHDGTUWr%3DAnyEcmAAX%3DLCPVibQ%40mail.gmail.com
> 
> .
> For more options, 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...@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/ylww5dfn1ahytvwqxbubq5m4.1553845277711%40email.android.com
> 
> .
> For more options, 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...@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/CAC3mK7eeGB3Xeqn5yPVRRSz7x52eX9XcEWKBX-0tc%2BZoyeydBw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Regarding internship opportunity in Bangalore

2019-03-29 Thread sachin thakur
Hi Akash
Yes I have sent you my resume I would request you to give me a call I have
mentioned the reason  in resume email

On Fri 29 Mar, 2019, 12:41 AM Akash Purandare,  wrote:

> Hey Sachin
>
> If you might be interested in Full Stack Development of a Website, please
> do send me your CV.
>
> We work in a startup called Oversight.
>
> Regards
> Akash Purandare
> akash.p1...@gmail.com
>
> On Thursday, March 28, 2019 at 11:24:18 PM UTC+5:30, sachin thakur wrote:
>>
>> Hi Folks
>> This email is regarding internship opportunity if there are any
>> internship opportunity please do let me know I am already working on django
>> also I developed web based applications using jsp servlet and hibernate.
>> Please do let me know if any opportunity is available
>>
> --
> 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 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/28a17b1a-d92b-47c7-acd0-ab79fe9c22b8%40googlegroups.com
> 
> .
> For more options, 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...@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/CA%2BLmcYvD8jwWdUNHK%2BDfHW9XPm4DmzQPxw%3D352pKnyOzobtTWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Installation Question

2019-03-29 Thread Michael Achterberg
When I run 

Pip install virtualenv

I still get the SyntaxError: invalid syntax


Regards,

Michael Achterberg
E-mail: mich...@achterberg.org.za

 Original message 
From: KONE GOMPOU LOUA ALASSANE  
Date: 28/03/2019  18:57  (GMT+02:00) 
To: django-users@googlegroups.com 
Subject: Re: Installation Question 

You must install virtualenv first,Le jeu. 28 mars 2019 16:55, Sandip Nath 
 a écrit :Definitely will help you with your 
installation. But first reply to the questions. Because the remedy will depend 
on your reply.On Thursday, 28 March 2019 22:02:08 UTC+5:30, michael wrote:I've 
installed Python 3.7 which comes with pip installed. When I try to create a 
virtualenv I get a SyntaxError: invalid syntaxWhat am I doing 
wrong?Regards,Michael AchterbergE-mail: mic...@achterberg.org.za - 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 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/2e63c3dc-283b-4498-9e49-d44f75f871ee%40googlegroups.com.
 For more options, 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...@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/CANoHCssQpRLwV6GorXjzrzLFxHDGTUWr%3DAnyEcmAAX%3DLCPVibQ%40mail.gmail.com.
 For more options, 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...@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/ylww5dfn1ahytvwqxbubq5m4.1553845277711%40email.android.com.
For more options, visit https://groups.google.com/d/optout.