Re: How to filter and get all vendor details using category

2021-12-08 Thread Sencer Hamarat
> > def __str__(self): > return self.category_name > > class Meta: > verbose_name_plural = "Categories" > > and serializer is here > > class VendorSerializer(serializers.ModelSerializer): > class Meta: > model = Vendor > fields

How to filter and get all vendor details using category

2021-12-08 Thread Gautam Ankul
rializer): class Meta: model = Vendor fields = ["vendor_id","vendor_name","vendor_location"] and i want that type of result: { "ErroeCode": "0", "status": 200, "message": "Get vendor det

Re: Retreive User IP Address and other details through HTML Form

2021-06-03 Thread sachinbg sachin
When we host in server always it shows the our hosted server ip address ,not the users IP address, I tried collecting ip from the request it's giving the hosted server ip address. Thanks and regards Sachin B.G On Fri, 4 Jun, 2021, 2:16 AM Stephen olumide, wrote: > Wow...thanks for the

Re: Retreive User IP Address and other details through HTML Form

2021-06-03 Thread Stephen olumide
Wow...thanks for the response. Yes we are all on same network in an organization. I will send view.py and index.html code later, it's 9:46pm here. Regards On Thu, Jun 3, 2021, 6:54 PM Kasper Laudrup wrote: > On 03/06/2021 12.04, Stephen olumide wrote: > > Hello Everyone, > > I need help with my

Re: Retreive User IP Address and other details through HTML Form

2021-06-03 Thread Kasper Laudrup
On 03/06/2021 12.04, Stephen olumide wrote: > Hello Everyone, > I need help with my Django web app, see link below > https://caryang.pythonanywhere.com It would be much more useful if you could link to the source code, or even better, the relevant snippets instead. > I need the form to

Retreive User IP Address and other details through HTML Form

2021-06-03 Thread Stephen olumide
I uploaded it on pythonanywhere.com but my code is only picking app host details not picking visitor's details Please help Regards -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

Re: How to get client or user side details

2020-09-03 Thread Salima Begum
at means if an application user tries to login other >> than their regular devices ( laptop, mobile phone etc.), we need to extract >> that particular new device details. So the details that we need are >> 1. Browser Name >> 2. IP address of the client's device >> 3. Lo

Re: How to get client or user side details

2020-09-02 Thread RANGA BHARATH JINKA
tempts done by application users from > new devices. That means if an application user tries to login other than > their regular devices ( laptop, mobile phone etc.), we need to extract that > particular new device details. So the details that we need are > 1. Browser Name > 2. IP ad

How to get client or user side details

2020-09-02 Thread Salima Begum
Hi, We are trying to extract new login attempts done by application users from new devices. That means if an application user tries to login other than their regular devices ( laptop, mobile phone etc.), we need to extract that particular new device details. So the details that we need are 1

Re: Django how get Post details using slug

2020-07-04 Thread arman hossain
ult >>>> please help me out. >>>> >>>> On Fri, Jul 3, 2020, 9:23 PM coolguy wrote: >>>> >>>>> I am away at this time but can you send the project urls.py screen >>>>> shot as well. >>>>> >>>>>

Django how to get post details of a post using slug

2020-07-03 Thread Tanni Seriki
Please family, help me out in solving my project. How to use slug to get post details. Here is all my files -- 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, sen

Re: Django how get Post details using slug

2020-07-03 Thread Tanni Seriki
as well. >>>> >>>> On Friday, July 3, 2020 at 4:09:01 PM UTC-4, Tanni Seriki wrote: >>>>> >>>>> Here is my WhatsApp number >>>>> +2348095594236 >>>>> Please I really need to solve this out >>>>> >>&

Re: Django how get Post details using slug

2020-07-03 Thread coolguy
ll. >>> >>> On Friday, July 3, 2020 at 4:09:01 PM UTC-4, Tanni Seriki wrote: >>>> >>>> Here is my WhatsApp number >>>> +2348095594236 >>>> Please I really need to solve this out >>>> >>>> On Fri, Jul

Re: Django how get Post details using slug

2020-07-03 Thread coolguy
iki wrote: >>>> >>>> Here is my WhatsApp number >>>> +2348095594236 >>>> Please I really need to solve this out >>>> >>>> On Fri, Jul 3, 2020, 9:07 PM Tanni Seriki wrote: >>>> >>>>> Coolguy >>

Re: Django how get Post details using slug

2020-07-03 Thread Tanni Seriki
;> Please I really need to solve this out >>> >>> On Fri, Jul 3, 2020, 9:07 PM Tanni Seriki wrote: >>> >>>> Coolguy >>>> Please can we chat on WhatsApp... >>>> The post details is really giving me headache, please help out >>>

Re: Django how get Post details using slug

2020-07-03 Thread Tanni Seriki
: >> >> Here is my WhatsApp number >> +2348095594236 >> Please I really need to solve this out >> >> On Fri, Jul 3, 2020, 9:07 PM Tanni Seriki wrote: >> >>> Coolguy >>> Please can we chat on WhatsApp... >>> The post details i

Re: Django how get Post details using slug

2020-07-03 Thread coolguy
ni Seriki > wrote: > >> Coolguy >> Please can we chat on WhatsApp... >> The post details is really giving me headache, please help out >> >> On Fri, Jul 3, 2020, 9:04 PM coolguy > > wrote: >> >>> Seems pretty simple unless you have specific questio

Re: Django how get Post details using slug

2020-07-03 Thread Tanni Seriki
Coolguy Please can we chat on WhatsApp... The post details is really giving me headache, please help out On Fri, Jul 3, 2020, 9:04 PM coolguy wrote: > Seems pretty simple unless you have specific question about something. > > You have a model which has some fields including Slug fi

Re: Django how get Post details using slug

2020-07-03 Thread Tanni Seriki
Here is my WhatsApp number +2348095594236 Please I really need to solve this out On Fri, Jul 3, 2020, 9:07 PM Tanni Seriki wrote: > Coolguy > Please can we chat on WhatsApp... > The post details is really giving me headache, please help out > > On Fri, Jul 3, 2020, 9:04 PM c

Re: Django how get Post details using slug

2020-07-03 Thread coolguy
:22 AM UTC-4, Tanni Seriki wrote: > > Please can someone put me through on this, post details view either one > the function based view or class based view. Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscr

Re: regular expression in an url showing post details

2020-05-26 Thread Daniel Roseman
On Tuesday, 26 May 2020 01:50:35 UTC+1, Tiempo wrote: > > Hi, > my name is Tiempo and I'm new with Django. currently, I'm using django > 3.0 and i want to display each article of a blog app ( like when I click on > article 1, it should display it full details on page show with t

Re: regular expression in an url showing post details

2020-05-26 Thread Ousseynou Diop
Hi, > my name is Tiempo and I'm new with Django. currently, I'm using django > 3.0 and i want to display each article of a blog app ( like when I click on > article 1, it should display it full details on page show with the > following link http://127.0.0.1:8000/blog/posts/1/) &g

regular expression in an url showing post details

2020-05-25 Thread Tiempo
Hi, my name is Tiempo and I'm new with Django. currently, I'm using django 3.0 and i want to display each article of a blog app ( like when I click on article 1, it should display it full details on page show with the following link http://127.0.0.1:8000/blog/posts/1/) containing a parameter

Re: Request to provide the details of how to integrate django app with selenium chrome web driver

2019-10-02 Thread Dilipkumar Noone
Hi, Can some one please share where to place a chrome driver [.exe] file in a django project which launches a webpage to perform click operations using selenium. Please share any document or videos for the same, Regards, N.Dilip kumar. On Wed, Oct 2, 2019 at 3:15 PM Dilipkumar Noone wrote: >

Re: Request to provide the details of how to integrate django app with selenium chrome web driver

2019-10-02 Thread Dilipkumar Noone
Dear Deep L Sukhwani, The below statement clarifies my doubt. Here, your Django app is running on a different process and you are triggering

Re: Request to provide the details of how to integrate django app with selenium chrome web driver

2019-10-01 Thread Deep Sukhwani
Still not clear on what is the automation task. From your original questions: 1.Under one tab ,provide a button name "ApplyGSP" > 2.click on "ApplyGSP" button should open a form ,which required below > input from the user. > >*a)*model_no* b)*model_name *c)*os_version *d)*requested_time

Re: Request to provide the details of how to integrate django app with selenium chrome web driver

2019-10-01 Thread Dilipkumar Noone
Hi, If i use selenium webdriver regular way in my django app, will it not cause time consuming to perform the automation task on chrome webdriver ? So to save the time , can i launch browser and perform automation task using celery delay() method. Regards, N.Dilip Kumar. On Tuesday, October

Re: Request to provide the details of how to integrate django app with selenium chrome web driver

2019-09-30 Thread Deep Sukhwani
What exactly do you want to use celery for? Using selenium webdriver the regular way should suffice here. Regarding copying from one field and pasting into another, you might be able to work with .get_text() method in selenium to read text from one field, store it in a variable and then

Re: Request to provide the details of how to integrate django app with selenium chrome web driver

2019-09-30 Thread Dilipkumar Noone
On Monday, September 30, 2019 at 9:22:16 PM UTC+5:30, Dilipkumar Noone wrote: > > I am new to Django. > > I have a requirement to develop a django application with the requirement > as stated below: > > 1.Under one tab ,provide a button name "ApplyGSP" > 2.click on "ApplyGSP" button should

Request to provide the details of how to integrate django app with selenium chrome web driver

2019-09-30 Thread Dilipkumar Noone
I am new to Django. I have a requirement to develop a django application with the requirement as stated below: 1.Under one tab ,provide a button name "ApplyGSP" 2.click on "ApplyGSP" button should open a form ,which required below input from the user. *a)*model_no* b)*model_name

Re: Post request in foreign key details by providing id

2019-09-02 Thread Gabo LaTo
Have you already defined a view in django rest framework? El sáb., 31 ago. 2019 a las 16:45, Soumen Khatua () escribió: > Hi Folks, > At the time of post request I want to provide only ID and then I want to > fetch the details related to that ID from another model and then I want to

Post request in foreign key details by providing id

2019-08-31 Thread Soumen Khatua
Hi Folks, At the time of post request I want to provide only ID and then I want to fetch the details related to that ID from another model and then I want to commit all the deatils inside my ForeignKey table,Please guys tell me How can I do that bu using django rest framewoek? *models.py

RE: Template not showing my post details

2019-05-29 Thread a
Hi, I can help you. Let me know about your project. Sent from Mail for Windows 10 From: cixtus anyanwu Sent: Wednesday, May 29, 2019 5:41 PM To: Django users Subject: Re: Template not showing my post details Yeah i have some contents on the models in the databse On Wednesday, May 29, 2019

Re: Template not showing my post details

2019-05-29 Thread Joe Reitman
What does your view look like? On Wednesday, May 29, 2019 at 4:26:55 AM UTC-5, cixtus anyanwu wrote: > > Help me out here. Whats wrong with django? > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Template not showing my post details

2019-05-29 Thread Leydson Vieira
Can you show me your views.post_list? Em qua, 29 de mai de 2019 às 06:27, cixtus anyanwu escreveu: > Help me out here. Whats wrong with django? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop

Re: Template not showing my post details

2019-05-29 Thread cixtus anyanwu
Yeah i have some contents on the models in the databse On Wednesday, May 29, 2019 at 10:32:42 AM UTC+1, 5pence wrote: > > Do you have any blogs posts in your model? > > On Wed, 29 May 2019 at 10:27, cixtus anyanwu > wrote: > >> Help me out here. Whats wrong with django? >> >> -- >> You received

Re: Template not showing my post details

2019-05-29 Thread 5pence
Do you have any blogs posts in your model? On Wed, 29 May 2019 at 10:27, cixtus anyanwu wrote: > Help me out here. Whats wrong with django? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop

Template not showing my post details

2019-05-29 Thread cixtus anyanwu
Help me out here. Whats wrong with django? -- 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,

Re: i am new i want full details of Django

2019-05-17 Thread omar ahmed
if you know python basic go to https://www.djangoproject.com/ On Thursday, May 16, 2019 at 4:00:02 PM UTC+2, Sanjay K wrote: > > could u please provide the basic books > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: i am new i want full details of Django

2019-05-16 Thread Joe Reitman
This book really helped me get started. "Django for Beginners: Build websites with Python and Django" by William S. Vincent.

Re: i am new i want full details of Django

2019-05-16 Thread Vinicius Assef
http://docs.djangoproject.com On Thu, 16 May 2019 at 10:59, Sanjay K wrote: > could u please provide the basic books > > -- > 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,

i am new i want full details of Django

2019-05-16 Thread Sanjay K
could u please provide the basic books -- 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

Help: how to fix FATAL Exited too quickly (process log may have details) ??

2019-05-05 Thread Rotense Gabriel
hello everyone? i keeps getting the error (*crazyproject FATAL Exited too quickly (process log may have details*) after i enter *sudo supervisorctl status crazyproject* this is my */etc/supervisor/conf.d/urban-train.conf* [program:crazyproject] > command=/home/rotense/bin/gunicorn_st

Re: How do I store details securely with django?

2018-11-14 Thread Lance Haig
Hi Dev, I believe that it would not provide much more security around the details. Thank you for responding. Regards Lance On 11/13/18 4:55 AM, Devender Kumar wrote: Hi Study about LDAP protocol Regards Dev On Tue 13 Nov, 2018, 4:06 AM PASCUAL Eric <mailto:eric.pasc...@cstb.fr>

Re: How do I store details securely with django?

2018-11-14 Thread Lance Haig
*From:* django-users@googlegroups.com on behalf of Lance Haig *Sent:* Monday, November 12, 2018 4:45:50 PM *To:* django-users@googlegroups.com *Subject:* Re: How do I store details securely with django? Hi Eric, I am sure I

Re: How do I store details securely with django?

2018-11-14 Thread Lance Haig
Thanks I will take a look at that Lance On 11/13/18 6:29 AM, Mike Dewhirst wrote: Another thought Django admin has a built-in mechanism for password management. It includes forms with password widgets.Perhaps you could hack your own encryption of the cloud credentials based on the Django

Re: How do I store details securely with django?

2018-11-12 Thread Mike Dewhirst
Another thought Django admin has a built-in mechanism for password management. It includes forms with password widgets.Perhaps you could hack your own encryption of the cloud credentials based on the Django approach to passwords. It is possible to add forms to the Admin and include your own

Re: How do I store details securely with django?

2018-11-12 Thread Devender Kumar
-- > *From:* django-users@googlegroups.com on > behalf of Lance Haig > *Sent:* Monday, November 12, 2018 4:45:50 PM > *To:* django-users@googlegroups.com > *Subject:* Re: How do I store details securely with django? > > > Hi Eric, > > I a

Re: How do I store details securely with django?

2018-11-12 Thread PASCUAL Eric
@googlegroups.com Subject: Re: How do I store details securely with django? Hi Eric, I am sure I have not explained myself properly. The app does the following. It presents a user the ability to sign up to a cloud platform for a sandbox / playground account. The number of cloud services

Re: How do I store details securely with django?

2018-11-12 Thread Lance Haig
are your other assumptions about the threats? How many sets of credentials will there be? it could potentially be 5 to 10 per admin account In future, will you be using simple credentials or tokens, certificates, multi factor auth? These credentials are access details to other clouds

Re: How do I store details securely with django?

2018-11-12 Thread Lance Haig
Eric wrote: Hi Lance,  but I need for people who are admins for a particular cloud to add their cloud details to the app and then store their credentials securely. I'm not sure to understand the need for adding cloud details to the app for the admins. The suggestion I made assumed

Re: How do I store details securely with django?

2018-11-12 Thread Pradeep Singh
can i develop real estate web application using python+ django On Mon, 12 Nov 2018 at 14:35, PASCUAL Eric wrote: > Hi Lance, > > > but I need for people who are admins for a particular cloud to add their > cloud details to the app and then store their credentials securely. >

Re: How do I store details securely with django?

2018-11-12 Thread PASCUAL Eric
Hi Lance, but I need for people who are admins for a particular cloud to add their cloud details to the app and then store their credentials securely. I'm not sure to understand the need for adding cloud details to the app for the admins. The suggestion I made assumed that sensitive

Re: How do I store details securely with django?

2018-11-12 Thread Mike Dewhirst
credentials or tokens, certificates, multi factor auth? These credentials are access details to other clouds. The application is a user sandbox portal to allow admins to grant X number of days access to a cloud for testing and discovery. It currently is focused on openstack but he roadmap plan

Re: How do I store details securely with django?

2018-11-12 Thread Lance Haig
need for people who are admins for a particular cloud to add their cloud details to the app and then store their credentials securely. Unfortunately this will need a dynamic storage mechanism which i don't know how to do yet Regards Lance On 11/12/18 12:03 AM, PASCUAL Eric wrote: Hi

Re: How do I store details securely with django?

2018-11-12 Thread Lance Haig
auth? These credentials are access details to other clouds. The application is a user sandbox portal to allow admins to grant X number of days access to a cloud for testing and discovery. It currently is focused on openstack but he roadmap plan is to add docker Kubernetes etc.. So I need

Re: How do I store details securely with django?

2018-11-11 Thread PASCUAL Eric
@googlegroups.com on behalf of Mike Dewhirst Sent: Sunday, November 11, 2018 11:07:14 PM To: django-users@googlegroups.com Subject: Re: How do I store details securely with django? On 12/11/2018 12:47 AM, Lance Haig wrote: > Hi, > > I have a project I am working on https://github.com/lh

Re: How do I store details securely with django?

2018-11-11 Thread Mike Dewhirst
On 12/11/2018 12:47 AM, Lance Haig wrote: Hi, I have a project I am working on https://github.com/lhaig/usery/ and part of the roadmap of the project is to add more cloud types to the list. I wanted to allow admins for these services to login and create records for their different clouds

How do I store details securely with django?

2018-11-11 Thread Lance Haig
Hi, I have a project I am working on https://github.com/lhaig/usery/ and part of the roadmap of the project is to add more cloud types to the list. I wanted to allow admins for these services to login and create records for their different clouds in the DB and then use these when people

Re: Django rest framework foreign key display details from table 1 to table 2

2018-04-05 Thread siva.gatti
did u get the solution for this if found send that to me -- 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

Re: Django rest framework foreign key display details from table 1 to table 2

2018-01-09 Thread Jason
What you are looking for is nested serialization. There's a section in the DRF docs on this that should provide some light. Fortunately, your serializers are almost there. -- You received this message because

Django rest framework foreign key display details from table 1 to table 2

2018-01-08 Thread cherngyorng
I have 2 model, MyUser, Family. What i want to do is display users details in Family table based on the MyUser table. It is like adding friends or family in other social media and display them In my current Family table, there are these 3 field. userId , familyId and relationship userId

Re: Supervisor FATAl Exited too quickly (process log may have details(About inet_http_server and unix_http_server)

2017-09-10 Thread Antonis Christofides
ar/log/supervisor.log >     environment=my-environment-variable >     ~ > | > > > > > | > `sudo supervisorctl reread` > > > `sudo supervisorctl reload` > > > `sudo supervisorctl status` > | > > > It showed up the error > > > weather_station:site            

Re: Supervisor FATAl Exited too quickly (process log may have details(About inet_http_server and unix_http_server)

2017-09-09 Thread Mario Gudelj
do supervisorctl reload` > > > `sudo supervisorctl status` > > > It showed up the error > > > weather_station:site FATAL Exited too quickly (process > log may have details) > > > So I checked out the log file : > > `/var/log/supervisor/supervisor

Supervisor FATAl Exited too quickly (process log may have details(About inet_http_server and unix_http_server)

2017-09-09 Thread Jonathan Cheng
ite FATAL Exited too quickly (process log may have details) So I checked out the log file : `/var/log/supervisor/supervisord.log` > 2017-09-08 17:15:25,000 CRIT Supervisor running as root (no user in > config file) > > 2017-09-08 17:15:25,000 WARN Included extra file >

Django get user details while registration for admin approval

2016-04-08 Thread Sudhanshu Shekhar
I am creating a Django app for which I want to be able to approve users before letting them login to the site. Am using django-user-accounts from pinax for the same. This approval step requires users to submit additional information such as their qualifications etc. This information should be

Permissions to view staff details per manager and per office

2015-05-10 Thread Tommy
Hi, I am having difficulty getting my thoughts around my problem. Given users (managerial, different levels) and depots/regional offices. line_mangers should only see list of staff assigned to line_mangers group. middle_managers should only see list of staff assigned from '1 to n'

Re: Email new users account details

2012-10-09 Thread Bill Freeman
:59 PM, Ian Foote <i...@feete.org> wrote: > I'm working on a small website for a small walking/mountaineering club. We > would like to create accounts for our members using the admin site, and > automatically email their details. I've googled a bit, but it isn't obvious >

Email new users account details

2012-10-09 Thread Ian Foote
I'm working on a small website for a small walking/mountaineering club. We would like to create accounts for our members using the admin site, and automatically email their details. I've googled a bit, but it isn't obvious to me if I can do this. Ideally, we would add a username (email address

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Stephen Anto
Hi, Try like this if you are using ubuntu ~$ python Python 2.7.3 (default, Apr 20 2012, 22:44:07) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import django >>> django.get_version() '1.3.1' or >>> django.VERSION (1, 3, 1, 'final', 0) >>> Not

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Brad Pitcher
Glad to here you got it working, and please let us know if you have any other questions. On Sun, Sep 9, 2012 at 5:52 PM, Shayan Afridi wrote: > It works! Thank you all so much. It feels great to know that there is a > very responsive and helpful support system for

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Shayan Afridi
It works! Thank you all so much. It feels great to know that there is a very responsive and helpful support system for django users. Thanks again! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Shayan Afridi
Okay, I just realized I don't/didn't need to type sudo in. Got it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Shayan Afridi
@Dennis Lee Bieber, I jumped back to my Mac, sorry- I am being a real bother but I appreciate the help insanely. Hopefully the help will be of aid in the Mac process, too. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Shayan Afridi
Hi all, I'm sorry- my last django question was all over the place. I hope it is reasonable to you if I recap. Thank you! Hi, and thanks for reading. Eventually, I want to be able to complete this project: https://docs.djangoproject.com/en/dev/intro/tutorial01/# (Writing your first Django

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Larry Martell
On Sun, Sep 9, 2012 at 3:41 PM, Shayan Afridi wrote: > Interesting. I'm doing it on my PC now, and still getting the same problem. > > Then I saw your email: > > Here's what I get when I print sys.path. (django's not there) > print sys.path > ['',

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Brad Pitcher
I can't speak authoritatively on this, since that's not how it installs in Linux, but in my understanding the contents of the django.pth file should be the directory django has been installed to. Check the contents of that file to see if everything is in order. An alternative to this is to update

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Shayan Afridi
There is a django.pth there and a README -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Brad Pitcher
The question is, is django inside one of those directories? It should probably be installed to C:\Python27\lib\site-packages so there would be a C:\Python27\lib\site-packages\django directory. Is it there? On Sun, Sep 9, 2012 at 3:41 PM, Shayan Afridi wrote: >

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Shayan Afridi
Interesting. I'm doing it on my PC now, and still getting the same problem. Then I saw your email: Here's what I get when I print sys.path. (django's not there) >>> print sys.path ['', 'C:\\Windows\\system32\\python27.zip', 'C:\\Python27\\DLLs', 'C:\\Python27\\lib',

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Larry Martell
On Sun, Sep 9, 2012 at 2:18 PM, djangohelp wrote: > I install it and then in the terminal when I type python -c "import django; > print(django.get_version())" > > > it says > > Traceback (most recent call last): > File "", line 1, in > ImportError: No module named

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread Shayan Afridi
Hey- I went here. https://docs.djangoproject.com/en/dev/intro/tutorial01/ And downloaded this one: https://www.djangoproject.com/download/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread tOlorun
hi how are you doing it ...? have gone to the djangoproject website ... ? On Sep 9, 2012 7:19 PM, "djangohelp" wrote: > I install it and then in the terminal when I type python -c "import > django; print(django.get_version())" > > > it says > > Traceback (most

I can't install django on my mac. I'm not sure why. Details inside.

2012-09-09 Thread djangohelp
I install it and then in the terminal when I type python -c "import django; print(django.get_version())" it says Traceback (most recent call last): File "", line 1, in ImportError: No module named django shayan-afridis-imac:~ prankster284$ Please let me know what I'm doing wrong. Thanks

Re: Login/ Logout user details

2012-08-09 Thread Satinderpal Singh
On Thu, Aug 9, 2012 at 4:49 PM, Pervez Mulla <mullaper...@gmail.com> wrote: > Hi, > > Please tell me how can I know ,the details about user login and logout > details , and how can I store that data in DB in Django. There are many registration modules already made in django,

Re: Login/ Logout user details

2012-08-09 Thread Aljoša Mohorović
On Thu, Aug 9, 2012 at 1:19 PM, Pervez Mulla <mullaper...@gmail.com> wrote: > Please tell me how can I know ,the details about user login and logout > details , and how can I store that data in DB in Django. User model (auth.models.User) has last_login and if you need custom data st

Login/ Logout user details

2012-08-09 Thread Pervez Mulla
Hi, Please tell me how can I know ,the details about user login and logout details , and how can I store that data in DB in Django. Thank You Pervez -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Can't save user details when using RemoteUserMiddleware and Active Directory

2012-03-15 Thread honyczek
Hi, when you use RemoteUserMiddleware (and RemoteUserBackend) for authentication of users and authenticates against Active Directory (mod_auth_sspi on Apache or Directory security on IIS), user's name value is in format domain\username. It works good until you want to set some details in Django

Re: Need details re: deletion of a referenced model instance

2012-02-15 Thread Jeff Blaine
> > >> Known Facts: > >> > >> 1. Deleting any Topping object (for example, deleting id=1, > >> name="Pepperoni") also removes it from foopizza.toppings. Good. > >> 2. No m2m_changed signal is sent when 1 (above happens). BAD. > > ... > > Check this out ;) >

Re: Need details re: deletion of a referenced model instance

2012-02-15 Thread Marc Aymerich
On Wed, Feb 15, 2012 at 12:37 AM, Marc Aymerich wrote: > On Tue, Feb 14, 2012 at 8:02 PM, Jeff Blaine wrote: >> Hi all, >> >> I'm having trouble detecting changes that happen to a M2M field behind the >> scenes: as a result of one of the *referenced

Re: Need details re: deletion of a referenced model instance

2012-02-14 Thread Marc Aymerich
On Tue, Feb 14, 2012 at 8:02 PM, Jeff Blaine wrote: > Hi all, > > I'm having trouble detecting changes that happen to a M2M field behind the > scenes: as a result of one of the *referenced objects being deleted* > > I'm using Django 1.3.1 with PostgreSQL 8 > > Let's say we

Re: Need details re: deletion of a referenced model instance

2012-02-14 Thread akaariai
On Feb 14, 9:02 pm, Jeff Blaine wrote: > Hi all, > > I'm having trouble detecting changes that happen to a M2M field behind the > scenes: as a result of one of the *referenced objects being deleted* > > I'm using Django 1.3.1 with PostgreSQL 8 > > Let's say we have the

Need details re: deletion of a referenced model instance

2012-02-14 Thread Jeff Blaine
Hi all, I'm having trouble detecting changes that happen to a M2M field behind the scenes: as a result of one of the *referenced objects being deleted* I'm using Django 1.3.1 with PostgreSQL 8 Let's say we have the following simple proof of concept models: class Topping(models.Model):

Retrieving repository details github using github API

2012-01-27 Thread anoop mohan
I need to create a web app in Djangok. This web app should take a list of github usernames and show the recent commits as well projects owned by this github user. The list of users should be stored in the DB and I should be able to update this from the Admin. Use the github API. Currently I

Re: Help on displaying related-object details on ModelForm

2011-02-11 Thread Shawn Milochik
You can change the form's label to contain self.instance.promotion.description. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

Help on displaying related-object details on ModelForm

2011-02-10 Thread luismmontielg
). But, Promotion object also has an attribute called 'description'. Now, I want to show the promotion description next to the radio entry. So the rendered HTML shows the radio button then the promotion name, then the promotion description. So the user can read the details of all the promotions listed

Re: Viewing details on a record in admin pages gives DoesNotExist error

2010-01-11 Thread kkerbel
ct_name) > > > DoesNotExist: Employee matching query does not exist. > > > [snip] > > > ...also, this only happens with the approval and final_approval > > models...the request model works fine and shows the details with no > > problem. > > You need to

Re: Viewing details on a record in admin pages gives DoesNotExist error

2010-01-11 Thread Karen Tracey
usr/local/lib64/python2.5/site-packages/django/db/models/ > query.py", line 305, in get > % self.model._meta.object_name) > > DoesNotExist: Employee matching query does not exist. > > [snip] > > ...also, this only happens with the approval and final_approval > models

Re: Viewing details on a record in admin pages gives DoesNotExist error

2010-01-11 Thread kkerbel
pplication/xml,application/xhtml+xml,text/ html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': '__utmz=99535361.1

Re: Viewing details on a record in admin pages gives DoesNotExist error

2010-01-11 Thread kkerbel
Ok...I'm sorry. The change list page is what I'm referring to...I'll try to gather some info and post it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from

  1   2   >