create custom field in crm

2019-03-31 Thread dvij parekh
Any one who had made crm in django and know how to make custom field using 
django forms i have made custom fields using php and html code but now i 
want tot do it using django forms please let me know how to do it or if you 
know any resources

-- 
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/1b736074-2e5b-4e36-a7b7-ebf775cd7bd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to resolve UPPER_CASE naming issues in pylint

2019-03-31 Thread Dennis Alabi
Thanks for your reply but i change movie_resource to all caps ie
MOVIE_RESOURCE and the problem did not stop. please look at my problem
panel below. Actually i am trying to create an API
[image: api_probem.png]
Website: http://transtech.ga/
Facebook: https://web.facebook.com/transtechno/
Email: i...@transtech.ga
Tell:+2348065698415



On Sun, Mar 31, 2019 at 5:21 AM Babatunde Akinyanmi 
wrote:

> Hi,
> That's pylint telling you to change the variable name 'movie_resource' to
> all caps.
>
> On Sat, 30 Mar 2019, 07:30 Dennis Alabi,  wrote:
>
>> 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.
>>
> --
> 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%2BWjgXO_VVMvTq4r_4-%2BhbzNDVjs1HH78mN63HTcBNgUdVcd1A%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/CA%2B3GiJjOwxukADYL3RrEiFE%2B7aaVV%3DpJ3Uf5axZKuF2BgAd0xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Regarding internship opportunity in Bangalore India

2019-03-31 Thread sachin thakur
Hi folks ,
Please do let me know if any vacancies for internship in python Django
framework I have worked with Front ends and backend with django and also
have builded web based applications using PHP and Jsp servlet and
Hibernate. Please do let me know if any openings. Please give me a call on
8792560572 if you have any openings I can move to any city of India as far
as the opportunity is concerned. I am looking for two months internship on
python Django. Looking forward to hearing from you
Regards
Sachin Thakur

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


How to use updated model.py from the shell

2019-03-31 Thread Betty
Hi all,

I am new to django and following tutorials.

I realized that even if I modified models.py while I was using shell(python 
manage.py shell) the modified models.py does not get recognized unless I 
restart the shell prompt.
Is there any other way to load my modified models.py by not restarting the 
shell prompt?

I appreciate any help!

-- 
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/090df280-8443-4441-96bd-3e92cb26de72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Must be my and and can't be my code -- tracing back a URL pattern type mismatch

2019-03-31 Thread Josh Marshall
Identical behavior.

On Sunday, March 31, 2019 at 12:42:17 AM UTC-4, jlgimeno71 wrote:
>
>
> On Sat, Mar 30, 2019 at 7:31 PM Josh Marshall  > wrote:
>
>> I'm helping out on a project, but am running into a paradox of a bug must 
>> existing in the code, but no project code is called.  Not sure how to deal 
>> with this one.  It looks related to URL setup and the urls.py file is 
>> practically identical to the examples.  Can anyone make sense of this stack 
>> trace?
>>
>>
>> ```
>> [anadon@goodadvicemallard project1]$ poetry run ./manage.py check
>> /home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/psycopg2/__init__.py:144:
>>  
>> UserWarning: The psycopg2 wheel package will be renamed from release 2.8; 
>> in order to keep installing from binary please use "pip install 
>> psycopg2-binary" instead. For details see: <
>> http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
>>   """)
>> Auto generated 7 views for endpoints
>> Traceback (most recent call last):
>>   File "./manage.py", line 28, in 
>> execute_from_command_line(sys.argv)
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/management/__init__.py",
>>  
>> line 381, in execute_from_command_line
>> utility.execute()
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/management/__init__.py",
>>  
>> line 375, in execute
>> self.fetch_command(subcommand).run_from_argv(self.argv)
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/management/base.py",
>>  
>> line 316, in run_from_argv
>> self.execute(*args, **cmd_options)
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/management/base.py",
>>  
>> line 353, in execute
>> output = self.handle(*args, **options)
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/management/commands/check.py",
>>  
>> line 65, in handle
>> fail_level=getattr(checks, options['fail_level']),
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/management/base.py",
>>  
>> line 379, in check
>> include_deployment_checks=include_deployment_checks,
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/management/base.py",
>>  
>> line 366, in _run_checks
>> return checks.run_checks(**kwargs)
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/checks/registry.py",
>>  
>> line 71, in run_checks
>> new_errors = check(app_configs=app_configs)
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/checks/urls.py",
>>  
>> line 13, in check_url_config
>> return check_resolver(resolver)
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/checks/urls.py",
>>  
>> line 23, in check_resolver
>> return check_method()
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/urls/resolvers.py",
>>  
>> line 397, in check
>> warnings.extend(check_resolver(pattern))
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/checks/urls.py",
>>  
>> line 23, in check_resolver
>> return check_method()
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/urls/resolvers.py",
>>  
>> line 397, in check
>> warnings.extend(check_resolver(pattern))
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/checks/urls.py",
>>  
>> line 23, in check_resolver
>> return check_method()
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/urls/resolvers.py",
>>  
>> line 397, in check
>> warnings.extend(check_resolver(pattern))
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/core/checks/urls.py",
>>  
>> line 23, in check_resolver
>> return check_method()
>>   File 
>> "/home/anadon/.cache/pypoetry/virtualenvs/project1-N4OQNeyl-py3.6/lib/python3.6/site-packages/django/urls/resolvers.py",
>>  
>> line 398, in check
>> return warnings or self.pattern.check()
>> AttributeError: 'str' object has no attribute 'check'
>>
>> ```
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving em

Re: Looking for a Django Intern in India

2019-03-31 Thread ambesh chand shahi
Hello sir I am also interested in doing internship.
Phone number +91 7779977473
Along with my resume.

  resume3




On Sun, 31 Mar 2019, 03:58 sachin thakur, 
wrote:

> Sorry couldn't read your mail properly.
> Akash sir let me know your response I have already shared my resume with
> you
>
>
> On Sun 31 Mar, 2019, 3:56 AM sachin thakur, 
> wrote:
>
>> Right time to call you now??
>>
>> On Sun 31 Mar, 2019, 3:56 AM DEEPAK RAGHAV, 
>> wrote:
>>
>>> Hello  Sir,
>>>
>>> I am also looking for internsjp in Django.
>>> contact no:7840037929
>>>
>>> Thanks & Regards,
>>> Deepak
>>>
>>> On Fri, Mar 29, 2019 at 12:41 AM Akash Purandare 
>>> wrote:
>>>
 Hello Django Developers

 We would like to provide you with opportunities to work in a live
 project on Django. This is an internship which requires you to collaborate
 effectively with other members of the team based in India.

 Requirements:
 Good Knowledge of Django
 Basic Knowledge of React
 Proficiency in Git and Heroku

 Interested developers can send their CV to the E-mail Akash Purandare
 .
 Vacancies: 2

 Regards
 Akash Purandare
 Oversight
 akash.p1...@gmail.com

 --
 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/a3a73d40-c532-46f7-8da9-35178362cd63%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/CACzRgKiTL3Dbf%2BK-P1qxmxSCXC%3DvcDFtaYAf_9zOQP8dqEbohA%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/CA%2BLmcYuGTQPfb3U19o%3D0XqwKX_dOsVhYLSR3zg%3DWODC6kdF9pQ%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/CA%2BM-f1etfTgkLN0Xb2RFjbhO%3DZ7A5jX_ju5%2BvysbpXxzTsvOjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to use updated model.py from the shell

2019-03-31 Thread Robin Riis
Just re import and redeclare the variable?

from app import model
x = thing.objects.all()


Den sön 31 mars 2019 16:46Betty  skrev:

> Hi all,
>
> I am new to django and following tutorials.
>
> I realized that even if I modified models.py while I was using
> shell(python manage.py shell) the modified models.py does not get
> recognized unless I restart the shell prompt.
> Is there any other way to load my modified models.py by not restarting the
> shell prompt?
>
> I appreciate any help!
>
> --
> 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/090df280-8443-4441-96bd-3e92cb26de72%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/CAPLZMbOeurjzsp28%2Bm7JXCJv%3D0qObbKgv2J_ROdALW4HEWhb_A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Looking for a Django Intern in India

2019-03-31 Thread ambesh chand shahi
Sorry sir my phone number is +91 7779877473 or +91 8619391456

On Sun, 31 Mar 2019, 20:35 ambesh chand shahi,  wrote:

> Hello sir I am also interested in doing internship.
> Phone number +91 7779977473
> Along with my resume.
>
>   resume3
> 
>
>
>
> On Sun, 31 Mar 2019, 03:58 sachin thakur, 
> wrote:
>
>> Sorry couldn't read your mail properly.
>> Akash sir let me know your response I have already shared my resume with
>> you
>>
>>
>> On Sun 31 Mar, 2019, 3:56 AM sachin thakur, 
>> wrote:
>>
>>> Right time to call you now??
>>>
>>> On Sun 31 Mar, 2019, 3:56 AM DEEPAK RAGHAV, <
>>> deepaksinghragh...@gmail.com> wrote:
>>>
 Hello  Sir,

 I am also looking for internsjp in Django.
 contact no:7840037929

 Thanks & Regards,
 Deepak

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

> Hello Django Developers
>
> We would like to provide you with opportunities to work in a live
> project on Django. This is an internship which requires you to collaborate
> effectively with other members of the team based in India.
>
> Requirements:
> Good Knowledge of Django
> Basic Knowledge of React
> Proficiency in Git and Heroku
>
> Interested developers can send their CV to the E-mail Akash Purandare
> .
> Vacancies: 2
>
> Regards
> Akash Purandare
> Oversight
> akash.p1...@gmail.com
>
> --
> 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/a3a73d40-c532-46f7-8da9-35178362cd63%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/CACzRgKiTL3Dbf%2BK-P1qxmxSCXC%3DvcDFtaYAf_9zOQP8dqEbohA%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/CA%2BLmcYuGTQPfb3U19o%3D0XqwKX_dOsVhYLSR3zg%3DWODC6kdF9pQ%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/CA%2BM-f1fxaQcfALOUeUizatT24-4agrXRsY-k7GE%3DZgv6XNf0Lw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Regarding internship opportunity in Bangalore

2019-03-31 Thread ambesh chand shahi
Hi akash,
I will also like to apply for internship as a full stack developer.

  resume3

Phone no +91 7779877473


On Sat, 30 Mar 2019, 03:26 Nanjuki Saidat,  wrote:

> 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.
>

-- 
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%2BM-f1d_x7%2B5OiVX11j7Ap9QW4ZE%2Be%2BT8O9Wv6jbbCazYEELEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to use updated model.py from the shell

2019-03-31 Thread Betty
Oh, thanks!

On Monday, April 1, 2019 at 12:07:32 AM UTC+9, Robin Riis wrote:
>
> Just re import and redeclare the variable?
>
> from app import model
> x = thing.objects.all()
>
>
> Den sön 31 mars 2019 16:46Betty > skrev:
>
>> Hi all,
>>
>> I am new to django and following tutorials.
>>
>> I realized that even if I modified models.py while I was using 
>> shell(python manage.py shell) the modified models.py does not get 
>> recognized unless I restart the shell prompt.
>> Is there any other way to load my modified models.py by not restarting 
>> the shell prompt?
>>
>> I appreciate any help!
>>
>> -- 
>> 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/090df280-8443-4441-96bd-3e92cb26de72%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/041b7c50-4adb-480b-bcf2-8b7e7e448d33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to resolve UPPER_CASE naming issues in pylint

2019-03-31 Thread Babatunde Akinyanmi
Pylint is just a linter to help you maintain your coding standards.
Configure it to your taste instead of fighting it. Check pylint's
documentation for guidance.

On Sun, 31 Mar 2019, 13:09 Dennis Alabi,  wrote:

> Thanks for your reply but i change movie_resource to all caps ie
> MOVIE_RESOURCE and the problem did not stop. please look at my problem
> panel below. Actually i am trying to create an API
> [image: api_probem.png]
> Website: http://transtech.ga/
> Facebook: https://web.facebook.com/transtechno/
> Email: i...@transtech.ga
> Tell:+2348065698415
>
>
>
> On Sun, Mar 31, 2019 at 5:21 AM Babatunde Akinyanmi 
> wrote:
>
>> Hi,
>> That's pylint telling you to change the variable name 'movie_resource' to
>> all caps.
>>
>> On Sat, 30 Mar 2019, 07:30 Dennis Alabi,  wrote:
>>
>>> 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.
>>>
>> --
>> 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%2BWjgXO_VVMvTq4r_4-%2BhbzNDVjs1HH78mN63HTcBNgUdVcd1A%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/CA%2B3GiJjOwxukADYL3RrEiFE%2B7aaVV%3DpJ3Uf5axZKuF2BgAd0xw%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/CA%2BWjgXMz71E%3DEBLvMuF6QAERCgQt47vt3wqrS59A0W1u8a%2B4Ew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to use updated model.py from the shell

2019-03-31 Thread Guru Murthy
You have to update and migrate the file using makemigrations command

On Sun, 31 Mar, 2019, 8:16 PM Betty,  wrote:

> Hi all,
>
> I am new to django and following tutorials.
>
> I realized that even if I modified models.py while I was using
> shell(python manage.py shell) the modified models.py does not get
> recognized unless I restart the shell prompt.
> Is there any other way to load my modified models.py by not restarting the
> shell prompt?
>
> I appreciate any help!
>
> --
> 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/090df280-8443-4441-96bd-3e92cb26de72%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/CAMgkGLVE4DRdmS6uB84OLtebDsUVV1Jgng7%3D5Cs%3D4kz5MDF4Uw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Urgently need help with deploying django on plesk.

2019-03-31 Thread Saurabh Jaiswal
Can someone please help me with deploying django on plesk onyx 17.08.
Been unsucessful trying to launch it.

-- 
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/CAOsmX4_PFaw%3DBFhufC%3DU%2Bc_iW%2BSN9MH2gfD%3DpQ1nS%3DHnBKN0bA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Lead Architect / CTO ( Hands on ) - Start Up - Cambridge - 3 Days remote working

2019-03-31 Thread Alfredo Sumague
I'm interested. I'm here in US, can it be done remotely?

Thanks,
Alfredo Sumague

On Thu, Mar 28, 2019 at 4:34 AM  wrote:

> Hi Everyone,
>
> I am looking for a candidate who has architectural experience in building
> a Platform in Python Django.
>
> *Software Architect – Part Remote - (Python Django) – Start **Up *
>
>
>
> £65,000 - £75,000 depending on experience
>
> Cambridge
>
> Permanent
>
>
>
>
>
> We have established a firm partnership with a really exciting start up
> that’s going to revolutionise their market.  The company are looking for a
> candidate to come in and help build a ground-breaking platform that is
> going to modernise the agricultural sector. This technology is going to
> bring a once slow-moving market into the 21st century. It’s a very
> exciting opportunity for anyone who is a team lead or has thought about
> being a team lead. The perfect candidate will be from an architectural
> background with lead experience or ambitions to lead a team.
>
>
>
> They are looking for some with a strong development background in Python
> Django. The ideal candidate is someone with previous experience in
> developing backend creating web applications but also has an interest in
> Machine Learning. The role will entail a very hand son approach to start
> and as the team grows it will move more into a line management role. If you
> have some front-end experience it would also be a bonus.
>
>
>
> A successful candidate must be skilled in:
>
> ·Strong experience of creating web applications in Python Django
>
> ·Understanding of REST API and GraphQL development
>
> ·Experience with Amazon Web Services Or Google Cloud
>
> ·Experience in Machine Learning or want to gain the experience
>
> ·Understanding of container technology such as Docker
>
> ·Architectural Background
>
>
> Desirables:
>
> ·Experience with full stack development – React or React Native
>
> ·Understanding of blockchain technologies
>
> ·Had Open source experience
>
> ·Team Lead Experience
>
>
>
> The Company has really got hold of something really exciting with this
> platform. This role is perfect for anyone who is looking for a new
> challenge or is thinking about developing themselves further. They have a
> beautiful new office in Cambridge with the potential to grow further. After
> meeting with them you get a real feeling that they are a fantastic company
> to work for and their benefits package is also very attractive.
>
>
>
> If you are interested in applying for this role, please email
> sc...@socode.co.uk.
>
>
> If you email I am more than happy to get the full spec over to you and
> more information about the company.
>
>
> Best wishes
>
> Scott
>
> --
> 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/f4c094df-1781-45e4-8087-14566ba12f61%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/CAGF6mrTKVSMGGdHv6y9Zp6fiHCcAdNEo68WiJ58-%3D5jSHWberA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Urgently need help with deploying django on plesk.

2019-03-31 Thread Mike Dewhirst

On 1/04/2019 3:29 am, Saurabh Jaiswal wrote:

Can someone please help me with deploying django on plesk onyx 17.08.
Been unsucessful trying to launch it.


Plesk is written by and for sysadmins and php people to insulate them 
from needing access to the machine. That means you won't gain easy 
access unless you have a very friendly sysadmin willing to install stuff 
for you and happy to implement a system for ongoing software updates. 
You need access to Apache config files and an ability to reload the 
webserver. I would say it will be awkward at best and impossible at 
worst. You might be able to use .htaccess files to tweak Apache to suit 
your needs


I would be looking to find a VM and do it myself with root access or 
find a Django-friendly hosting provider.


My preference is the former.

Good luck.

Mike


--
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/CAOsmX4_PFaw%3DBFhufC%3DU%2Bc_iW%2BSN9MH2gfD%3DpQ1nS%3DHnBKN0bA%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/0342039b-cbd0-1df9-ec73-0c51dbb0850f%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.


Re: Urgently need help with deploying django on plesk.

2019-03-31 Thread Saurabh Jaiswal
Hey Mike,
I have access to the pesk server as root user.
I have been facing issue with the mod_wsgi setup process.

On Mon, Apr 1, 2019 at 6:03 AM Mike Dewhirst  wrote:

> On 1/04/2019 3:29 am, Saurabh Jaiswal wrote:
> > Can someone please help me with deploying django on plesk onyx 17.08.
> > Been unsucessful trying to launch it.
>
> Plesk is written by and for sysadmins and php people to insulate them
> from needing access to the machine. That means you won't gain easy
> access unless you have a very friendly sysadmin willing to install stuff
> for you and happy to implement a system for ongoing software updates.
> You need access to Apache config files and an ability to reload the
> webserver. I would say it will be awkward at best and impossible at
> worst. You might be able to use .htaccess files to tweak Apache to suit
> your needs
>
> I would be looking to find a VM and do it myself with root access or
> find a Django-friendly hosting provider.
>
> My preference is the former.
>
> Good luck.
>
> Mike
>
> > --
> > 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/CAOsmX4_PFaw%3DBFhufC%3DU%2Bc_iW%2BSN9MH2gfD%3DpQ1nS%3DHnBKN0bA%40mail.gmail.com
> > <
> https://groups.google.com/d/msgid/django-users/CAOsmX4_PFaw%3DBFhufC%3DU%2Bc_iW%2BSN9MH2gfD%3DpQ1nS%3DHnBKN0bA%40mail.gmail.com?utm_medium=email&utm_source=footer
> >.
> > 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/0342039b-cbd0-1df9-ec73-0c51dbb0850f%40dewhirst.com.au
> .
> 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/CAOsmX49LfhN2wJdmywUyi3bUUcwiZ%2BTB4AxqgrY9tz1F2C-%2Byg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Urgently need help with deploying django on plesk.

2019-03-31 Thread Mike Dewhirst

On 1/04/2019 1:47 pm, Saurabh Jaiswal wrote:

Hey Mike,
I have access to the pesk server as root user.
I have been facing issue with the mod_wsgi setup process.


Have you seen ... https://modwsgi.readthedocs.io/en/develop/




On Mon, Apr 1, 2019 at 6:03 AM Mike Dewhirst > wrote:


On 1/04/2019 3:29 am, Saurabh Jaiswal wrote:
> Can someone please help me with deploying django on plesk onyx
17.08.
> Been unsucessful trying to launch it.

Plesk is written by and for sysadmins and php people to insulate them
from needing access to the machine. That means you won't gain easy
access unless you have a very friendly sysadmin willing to install
stuff
for you and happy to implement a system for ongoing software updates.
You need access to Apache config files and an ability to reload the
webserver. I would say it will be awkward at best and impossible at
worst. You might be able to use .htaccess files to tweak Apache to
suit
your needs

I would be looking to find a VM and do it myself with root access or
find a Django-friendly hosting provider.

My preference is the former.

Good luck.

Mike

> --
> 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/CAOsmX4_PFaw%3DBFhufC%3DU%2Bc_iW%2BSN9MH2gfD%3DpQ1nS%3DHnBKN0bA%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/0342039b-cbd0-1df9-ec73-0c51dbb0850f%40dewhirst.com.au.
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/CAOsmX49LfhN2wJdmywUyi3bUUcwiZ%2BTB4AxqgrY9tz1F2C-%2Byg%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/b19a0657-3e65-3a7b-b174-afd20e2d0804%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.