Re: Access queryset in get_context_data()?

2012-11-08 Thread Arturo Fernandez
Hi! You can use access to queryset through kwargs dictionary: qs = kwargs['object_list'] Don't forget that *object_list *is the variable used by Django's class view. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on t

Noob question about model and view

2019-01-25 Thread Arturo Fernandez
Hello, I'm trying to make a simple form so I can dissect it and learn but from the guide that I'm reading, they are doing it differently from what I'm trying to accomplish. This are the two links: model.py: https://tutorial.djangogirls.org/en/django_models/ view.py, forms.py: https://tutorial.dj

Re: Noob question about model and view

2019-01-25 Thread Arturo Fernandez
The new form that I'm trying to make is the one with the variable: form, I forgot to mention that On Friday, January 25, 2019 at 10:08:03 AM UTC-5, Arturo Fernandez wrote: > > Hello, I'm trying to make a simple form so I can dissect it and learn but > from the guide that I&

How to save bio using forms.ModelForm

2019-01-27 Thread Arturo Fernandez
I tried multiple links on stackov. but none worked, I can't get my *bio* form to save the data on the db for the user profile :/ I managed to save the first name and last name, but I can't make the bio save... This is my code: *profile.html* {% csrf_token %} {{ user_BioAndSocialForm.bio

Re: Setting up admin in visual studio

2018-11-05 Thread Arturo Fernandez
Helloo, visual studio is just an editor. Here is the tutorial that I started with https://www.youtube.com/watch?v=UmljXZIypDc&index=1&list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p and here is my blog, I have a lot about Visual studio code to get you started: blog.arturofm.com Hope it helps :) On

Re: Setting up admin in visual studio

2018-11-07 Thread Arturo Fernandez
Follow this tutorial: https://www.youtube.com/watch?v=UmljXZIypDc&index=1&list=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p He goes over how to create an admin page and have it working. On Tuesday, November 6, 2018 at 9:02:03 PM UTC-5, Saeed Pooladzadeh wrote: > > > But my problem is there is no admin pag

Django jobs

2018-11-14 Thread Arturo Fernandez
Hello community, today someone at work told me to bare in mind which tech I use in terms of profitability. As a backend language, there is no doubt that I'll use Python, however I'm doubting about the framework, whether I should use Python or not for web. I heard that Django is kind of slow, an

Re: Django jobs

2018-11-14 Thread Arturo Fernandez
> kind of just brownie points and improves your chances. If I’m amazing at > django and web development but don’t know the language being used, I’ll > generally be chosen over someone who’s shaky on web development who uses > the same language as the company > > Sent from my iPhon

API project example

2018-11-17 Thread Arturo Fernandez
Hi guys, I'm developing an idea, but the funny things is that I'm learning Django at the same time. Do you guys know of any SIMPLE project that requests data from an api and displays it on the font end (html)? I'm working with themoviedb using https://github.com/celiao/tmdbsimple. I got the sh