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

2019-03-30 Thread Jorge Gimeno
On Sat, Mar 30, 2019 at 7:31 PM Josh Marshall < joshua.r.marshall.1...@gmail.com> 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

Re: How to resolve UPPER_CASE naming issues in pylint

2019-03-30 Thread Babatunde Akinyanmi
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

Re: ModelForm for model that includes multiple items of one kind

2019-03-30 Thread Dean Karres
Thanks to the responders. I was unaware of formsets / midelformsets. I am reading about them now. Cheers -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: ModelForm for model that includes multiple items of one kind

2019-03-30 Thread Kiran Capoor
Hi, To connect multiple forms you should use: FormSets https://docs.djangoproject.com/en/2.1/topics/forms/formsets/ Or https://docs.djangoproject.com/en/2.1/topics/forms/modelforms/#using-an-inline-formset-in-a-view Read about it in the above links. Regards, Kiran Capoor On Sunday, March

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

2019-03-30 Thread Josh Marshall
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

Re:

2019-03-30 Thread Chetan Ganji
Best way to learn coding n framework is to build a project. I have taken courses from various vendors, best ones are the one from Coding For Entrepreneurs. He also has a youtube channel. Start with try django 1.8 On Sun, Mar 31, 2019, 6:20 AM Makori Breens wrote: >

Re:

2019-03-30 Thread Makori Breens
http://track.haatm.com/aff_c?offer_id=919_id=29710 On 3/30/19, Victor H. Velasquez Rizo wrote: > Hello Carol. > > Try this > https://tutorial.djangogirls.org/en/ > > On Sat, Mar 30, 2019 at 9:12 AM carol caro wrote: > >> Hello. I am a new or beginner django developer. Where do I start from

Re: ModelForm for model that includes multiple items of one kind

2019-03-30 Thread Chetan Ganji
I think, you will need to implement something like below. Profile: first_name middle_name last_name birthday address (primary/default) email (primary/default) phone (primary/default) Address address_line1 address_line2 City state zip Email

Re: Looking for a Django Intern in India

2019-03-30 Thread sachin thakur
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

Re: Looking for a Django Intern in India

2019-03-30 Thread sachin thakur
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 >> >>

Re: Looking for a Django Intern in India

2019-03-30 Thread DEEPAK RAGHAV
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

[no subject]

2019-03-30 Thread Nanjuki Saidat
Hi all, I am Saidat a new django developer, i need help on how to go about this " Change admin portal URL to more obvious path and add link in side menu to admin settings for admin users". In summary: 1. i want to change URL string to more intuitive URL (i.e.

ModelForm for model that includes multiple items of one kind

2019-03-30 Thread Dean Karres
Hi I am looking for some advice. I have a basic Profile model. It looks something like: Profile: first_name middle_name last_name birthday address_line1 address_line2 city state zip email phone I have a ModelForm that goes with this. This is sufficient for nearly all the cases I am trying

Re: Unit-Testing Django Views

2019-03-30 Thread Jorge Gimeno
The online version of the book is pinned to Django 1.11. You may want to check that out. -Jorge On Sat, Mar 30, 2019 at 4:40 AM Test Bot wrote: > Sorry for the bother but I finally solved it by using Django's Test Client > and checking for status_code and template used to render the response

Re: Venv

2019-03-30 Thread Gurmeet Kaur
Go to scripts/activate.bat. it shud activate the ebv On Sat, Mar 30, 2019, 2:32 PM John wrote: > Good evening > > I've created and activated venv like this: > $ python3 -m venv > $ source /bin/activate > > Now Ive ‘deactivate’ the venv > > How do I re-activate please? > >  > > > -- > You

Re: Venv

2019-03-30 Thread Victor H. Velasquez Rizo
Hello John: You have to be in the folder where the enviroment was created, then type source /bin/activate On Sat, Mar 30, 2019 at 1:32 PM John wrote: > Good evening > > I've created and activated venv like this: > $ python3 -m venv > $ source /bin/activate > > Now Ive ‘deactivate’ the venv > >

Re: Venv

2019-03-30 Thread Gil Obradors
You do it: source /bin/activate Missatge de John del dia ds., 30 de març 2019 a les 19:32: > Good evening > > I've created and activated venv like this: > $ python3 -m venv > $ source /bin/activate > > Now Ive ‘deactivate’ the venv > > How do I re-activate please? > >  > > > -- > You received

Venv

2019-03-30 Thread John
Good evening I've created and activated venv like this: $ python3 -m venv $ source /bin/activate Now Ive ‘deactivate’ the venv How do I re-activate please?  -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re:

2019-03-30 Thread Victor H. Velasquez Rizo
Hello Carol. Try this https://tutorial.djangogirls.org/en/ On Sat, Mar 30, 2019 at 9:12 AM carol caro wrote: > Hello. I am a new or beginner django developer. Where do I start from > I have installed python and integrated with Django framework but I don't > know what to do next > > -- >

Re: Django 2.7.1 - "TemplateDoesNotExist at /munichlivingapp/seekers/ "

2019-03-30 Thread kamibarut609
Hello Mohammad. thank you for your help. If you read carefully the content of the thread, you will see that all the code was posted and I was able to figure things out thanks to the help of the developer. K. On Saturday, 30 March 2019 16:29:58 UTC+1, Mohammad Etemaddar wrote: > > Dear

Re: Overriding settings in Django when used by the models

2019-03-30 Thread אורי
Hi Carlton, 1. I apologize for the time taking me to reply. I had other things to handle before I could handle this issue. 2. The settings in models such as User are per class/model and not per instance. You can see the models in the following file:

Re: Django 2.7.1 - "TemplateDoesNotExist at /munichlivingapp/seekers/ "

2019-03-30 Thread Mohammad Etemaddar
Dear Kabiba, It would be good to post your code (specially the part that renders the template). I think you're addressing the template by 'seeker_list.html'. You need to specify the mother directory 'munichi...app/seeker_list.html'. or put seeker_list.html right inside the templates directory.

Re:

2019-03-30 Thread Jose Echenique
Hi, you can see, is very good. http://www.moreware.org/books/The%20Definitive%20Guide%20to%20Django.pdf El sáb., 30 de mar. de 2019 a la(s) 10:12, carol caro (carolcar...@gmail.com) escribió: > Hello. I am a new or beginner django developer. Where do I start from > I have installed python

Re:

2019-03-30 Thread Gil Obradors
Hi Carol, The next, for example, can be doing all the official tutorial : https://docs.djangoproject.com/en/2.1/intro/tutorial01/# This was my way There are books too, I recommend you this editorial: https://www.packtpub.com/ Good luck!! Missatge de carol caro del dia ds., 30 de març

[no subject]

2019-03-30 Thread carol caro
Hello. I am a new or beginner django developer. Where do I start from I have installed python and integrated with Django framework but I don't know what to do next -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Django 2.7.1 - "TemplateDoesNotExist at /munichlivingapp/seekers/ "

2019-03-30 Thread kamibarut609
Hello, I thought I would post here the link to the question (which was not answered) I just asked on Stackoverflow. https://stackoverflow.com/questions/55431695/django-2-7-1-templatedoesnotexist-at-munichlivingapp-seekers Any suggestions are welcome. Thanks. K. -- You received this

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

2019-03-30 Thread kamibarut609
@jgi...@caktusgroup.com Thank you for your help, I received some help on Stackoverflow. @ Krishna Tulsyan Thank you for your help, I received some help on Stackoverflow. On Friday, 29 March 2019 12:37:05 UTC+1, Krishna Tulsyan wrote: > > Hi, > can you provide the folder structure of your app,

Re: Upgrading Django from 1.11 to 2.2

2019-03-30 Thread Tim Graham
Consider the "Upgrading Django to a newer version" guide. https://docs.djangoproject.com/en/stable/howto/upgrade-version/ On Friday, March 29, 2019 at 4:52:10 AM UTC-4, Uri Even-Chen 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

Re: Unit-Testing Django Views

2019-03-30 Thread Test Bot
Sorry for the bother but I finally solved it by using Django's Test Client and checking for status_code and template used to render the response in my unit-test. Regards, Test Bot On Sat, Mar 30, 2019 at 5:00 PM Test Bot wrote: > I tried removing the {% csrf_token %} from my index.html But it

Re: Unit-Testing Django Views

2019-03-30 Thread Test Bot
I tried removing the {% csrf_token %} from my index.html But it seemed to have no effect. I got the following traceback for further clarity * START OF TRACEBACK*

Re: Unit-Testing Django Views

2019-03-30 Thread Test Bot
Thanks everyone for the clearance of the problem. I will remove the unit test's logic to check fir template, it seems a viable test case along with the status code value. On Fri, Mar 29, 2019, 2:24 AM Chetan Ganji wrote: > There is one more way you could do it > > > class

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

2019-03-30 Thread Gourav Sardana
If the user enter incorrect credentials then you will redirect it to another page or a pop up which shows wrong credentials. def user_login(request): if request.method == 'POST': # First get the username and password supplied username = request.POST.get('username') password =

How to resolve UPPER_CASE naming issues in pylint

2019-03-30 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/