Re: Error loading psycopg2 module: No module named 'psycopg2'

2020-03-31 Thread Mike Dewhirst
On 1/04/2020 11:56 am, Mike Dewhirst wrote: On 1/04/2020 10:53 am, Umar Abdulsattar wrote: Hello fellows currently i am learning django and try to build and single webpage and also try to connect with postgresql but using adopter psycopg2 i face some problems like i find this error  " File

Re: Error loading psycopg2 module: No module named 'psycopg2'

2020-03-31 Thread Mike Dewhirst
On 1/04/2020 10:53 am, Umar Abdulsattar wrote: Hello fellows currently i am learning django and try to build and single webpage and also try to connect with postgresql but using adopter psycopg2 i face some problems like i find this error  " File "C:\Program Files

Error loading psycopg2 module: No module named 'psycopg2'

2020-03-31 Thread Umar Abdulsattar
Hello fellows currently i am learning django and try to build and single webpage and also try to connect with postgresql but using adopter psycopg2 i face some problems like i find this error " File "C:\Program Files (x86)\Python37-32\lib\site-packages\django\db\backends\postgresql\base.py",

Re: Multiple Image Field in a model

2020-03-31 Thread Yash Chandra verma
This is how exactly you could solve it. Multiple FIle Upload On Monday, September 26, 2011 at 7:32:51 PM UTC+5:30, NavaTux wrote: > > Hi all, > >I have a filed(ImageField) in my model.Also I want to have > multiple ImageFields.How to have

Re: CSS doesnt work deployed on Pythonanywhere

2020-03-31 Thread Alexis Soko
Thanks for the heads up. Will check and update the status if found. Regards. On Tue, Mar 31, 2020 at 2:24 PM Motaz Hejaze wrote: > I remember that in pythonanywhere you need to tell the platform where you > app folder is and where your static folder is ... > > You can do that from your account

Re: CSS doesnt work deployed on Pythonanywhere

2020-03-31 Thread Motaz Hejaze
I remember that in pythonanywhere you need to tell the platform where you app folder is and where your static folder is ... You can do that from your account control panel i think .. On Tue, 31 Mar 2020, 11:07 pm Alexis Soko, wrote: > Hi. thanks for the answer. > > Yes I have an app/static/css

Re: CSS doesnt work deployed on Pythonanywhere

2020-03-31 Thread Alexis Soko
Hi. thanks for the answer. Yes I have an app/static/css folder with the app.css file and {% load static %} at the beginning of the html. On Tue, Mar 31, 2020 at 1:48 PM Aly_34_04 MR_34_04 < allaberdi16yazha...@gmail.com> wrote: > did you load css on your static files? > > On Tuesday, March 31,

Re: CSS doesnt work deployed on Pythonanywhere

2020-03-31 Thread Aly_34_04 MR_34_04
did you load css on your static files? On Tuesday, March 31, 2020 at 10:54:59 PM UTC+3, Alexis Soko wrote: > > Really simple stuff. webpage navbar looks propper locally. But when > deployed the navbar loses font and goes vertical. Checked Django and > bootstrap installed versions on both, > Any

Template Variables

2020-03-31 Thread aetar
I am writing a simple web app, and I am struggling to access my variable attributes in one of my templates. The get_object_or_404 method returns my customized 404 error from my *content_detail.html *file: "No content is available." Here are my files: *archive/archive/urls.py:* from

CSS doesnt work deployed on Pythonanywhere

2020-03-31 Thread Alexis Soko
Really simple stuff. webpage navbar looks propper locally. But when deployed the navbar loses font and goes vertical. Checked Django and bootstrap installed versions on both, Any thoughts? This is my first project on Django. Thanks for your help. Alexis. -- You received this message because

Re: Django authentication micro service Rest API utilization

2020-03-31 Thread Suraj Thapa FC
Read about jwt token refresh and interceptors in spa On Tue, 31 Mar 2020, 11:00 pm crack studio, wrote: > Hello Everyone, > > I want to implement and integrate different, separately Django service. > Suppose I have these two different projects. > > 1. Authentication *rest API* ( user can

Re: Django Testing

2020-03-31 Thread Lunga Baliwe
Good day, I hope this ( https://docs.djangoproject.com/en/3.0/intro/tutorial05/#writing-our-first-test) can help, its part of the Django tutorials. On Tue, Mar 31, 2020 at 4:35 PM ekong, emmanuel wrote: > I’m having the same difficulty... > > On Tue, 31 Mar 2020 at 3:32 PM, Abrar Ahmad >

Django authentication micro service Rest API utilization

2020-03-31 Thread crack studio
Hello Everyone, I want to implement and integrate different, separately Django service. Suppose I have these two different projects. 1. Authentication *rest API* ( user can register, login, email verification, create JWT token on login, refresh token, etc) 2. Frontend Project: This is the

Re: NoReverseMatch error message - Please help

2020-03-31 Thread victor awakan
Sometimes the error can be from your url.py or even views.py and also make sure no typo. Check each on e of the above carefully. Hopefully you might see the bug. Cheers On Tue 31. Mar 2020 at 18.06, Jeff Waters wrote: > Thanks Ryan. > > I've just tried that, but I still get an error message. >

Re: NoReverseMatch error message - Please help

2020-03-31 Thread Jeff Waters
Thanks Ryan. I've just tried that, but I still get an error message. By the way, is it definitely .id and not _id? I've seen both, and Django docs says: 'Behind the scenes, Django appends "_id" to the field name to create its database column name, which makes me wonder if it might be _id.

Re: Looking for Django developers to work on a new and an existing project with our team

2020-03-31 Thread chander shekhar
Yes sir I am also interested, I am quite new to it, But curious to learn a lot from you guys On Tue, Mar 31, 2020, 8:16 PM Saswat Ray wrote: > Hi, > Interested. > > *Thanks*, > *Saswat* > > https://www.linkedin.com/in/saswat-ray-27313316/ > https://www.quora.com/profile/Saswat-Ray > > > > On

Associating comments with images

2020-03-31 Thread Jeff Waters
I am creating a website where users can comment on photos in a gallery. The challenge I currently have is that Django is not able to determine which of the photos the comment 'submit' button relates to. This is my HTML code for the photo gallery: comments {% if not

Re: NoReverseMatch error message - Please help

2020-03-31 Thread Ryan Nowakowski
Based on the rest of your template from the github link, looks like: {% url 'nowandthen:add_comment' image.id %} ...should instead be: {% url 'nowandthen:add_comment' p.image.id %} On 3/31/20 7:08 AM, Jeff Waters wrote: I am putting together a website which has a photo gallery where users

Re: Looking for Django developers to work on a new and an existing project with our team

2020-03-31 Thread Saswat Ray
Hi, Interested. *Thanks*, *Saswat* https://www.linkedin.com/in/saswat-ray-27313316/ https://www.quora.com/profile/Saswat-Ray On Tue, Mar 31, 2020 at 7:10 PM Juan J. Moreno Piña < prof.juanj.mor...@gmail.com> wrote: > available now, I'm located remote > Juan > > *Teaching to learn * >

Re: Django Testing

2020-03-31 Thread ekong, emmanuel
I’m having the same difficulty... On Tue, 31 Mar 2020 at 3:32 PM, Abrar Ahmad wrote: > Hello Sir > I have trouble in learnig Testing tutorial of Djanog Documentation. > Can any one tell me what is the main concept of learnign test and how can > we learn it in easiest way. > I am waiting for

Django Testing

2020-03-31 Thread Abrar Ahmad
Hello Sir I have trouble in learnig Testing tutorial of Djanog Documentation. Can any one tell me what is the main concept of learnign test and how can we learn it in easiest way. I am waiting for reply -- You received this message because you are subscribed to the Google Groups "Django

Re: Looking for Django developers to work on a new and an existing project with our team

2020-03-31 Thread Juan J . Moreno Piña
available now, I'm located remote Juan *Teaching to learn * *Trading to survive* *M.Sc. Juan J. Moreno* En Venezuela (Maracaibo) Skype:studiom2j Tel (Italy): +39 02320628565 El lun., 30 de mar. de 2020 a la(s) 07:56, Satish Pal ( satishpal...@gmail.com) escribió: > Hi > > I have total of 2

Re: How do I create a GEO management system using django as back-end and react as front-end?

2020-03-31 Thread Christian Ledermann
have a look at https://github.com/cleder/os-opendata-edubase On Thu, 12 Mar 2020 at 09:55, Philip Mitchell wrote: > I want to work on a project where a user is able to mark and locate > objects on a map as in the https://www.openstreetmap.org/ > I don't know how to go about it, I have tried

Re: NoReverseMatch error message - Please help

2020-03-31 Thread Kasper Laudrup
Hi Jeff, On 31/03/2020 14.08, Jeff Waters wrote: I am putting together a website which has a photo gallery where users can add comments. When I go to the photo gallery page, I get the following error message: NoReverseMatch at /photo_feed/ Reverse for 'add_comment' with arguments '('',)'

NoReverseMatch error message - Please help

2020-03-31 Thread Jeff Waters
I am putting together a website which has a photo gallery where users can add comments. When I go to the photo gallery page, I get the following error message: NoReverseMatch at /photo_feed/ Reverse for 'add_comment' with arguments '('',)' not found. 1 pattern(s) tried: ['add_comment/$'] The

Problem to make billing

2020-03-31 Thread Kushal Neupane
Dear all, i am developing Resturat Management system. I made models for all. I made a static webpage for billing using ajax. I have beverage and dishes model. Now i need to develop, sn with is auto increment as per items, bevereage/dishes items to select and type, rate as per items, qty

Re:

2020-03-31 Thread Motaz Hejaze
Search for one to one databass relationships .. Also checkout extending user model by making a one to one realationship with profile model On Tue, 31 Mar 2020, 11:25 am fahad rasool, wrote: > I am having a user model ( which include username,user email and password) > and have another model

[no subject]

2020-03-31 Thread fahad rasool
I am having a user model ( which include username,user email and password) and have another model user_detail . I want to add username column to user_ detail and want to show the details of that username who have logged in and filled the details.. How can i do this? -- You received this message

Re: Extending Django admin delete confirmation page

2020-03-31 Thread Klaus Laube
Hi, Gagan. Try removing the "admin:" from your instruction: `{% extends "admin/delete_confirmation.html" %}` Here is the template with a possible blocks that you might overwrite: https://github.com/django/django/blob/master/django/contrib/admin/templates/admin/delete_confirmation.html Cheers.

Re: HTML code not being read

2020-03-31 Thread Allaberdi Yazhanow
Did you connect your template folder on settings.py ? Sent from my iPhone > On Mar 30, 2020, at 11:06 PM, Aly_34_04 MR_34_04 > wrote: > > show me your views > >> On Monday, March 30, 2020 at 5:13:49 PM UTC+3, Jeff Waters wrote: >> Hi >> I have written some code that allows users of a