how to raise an error on django admin

2011-01-03 Thread rahul jain
Hi, How to display an error in django admin (the error should be displayed in red just like in forms) Something of this form http://groups.google.com/group/django-users/browse_thread/thread/68d4ea1915654134/447ef8473cf86672 Thanks. Rahul -- You received this message because you are

Re: Using new messages framework within built-in admin ?

2011-01-03 Thread rahul jain
anyone on this ? How to display error messages ? On Thu, May 27, 2010 at 3:49 AM, Nicolas Steinmetz wrote: > Nobody on this issue ? > > On 21 mai, 15:46, Nicolas Steinmetz wrote: > > Hi, > > > > For some actions I made from the Django built-in admin, I would like > > to improve the user experie

how to map admin actions with shortcut keys

2011-01-09 Thread rahul jain
ome rows key 3 -> Perform admin action "z" on some rows Will appreciate if you can let me know how to approach this problem ? Thanks. Rahul -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send ema

how to remove add and change links on admin dashboard

2011-01-22 Thread rahul jain
Hi Guys, how to remove add and change links + icons on admin dashboard ? Thanks. Rahul -- 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 g

standalone server

2011-02-08 Thread rahul jain
then please let me know how to best deal with it. thanks. Rahul -- 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 dj

modify existing widget

2011-03-20 Thread rahul jain
All, How to edit existing foreign key/manytomany field widget. I would like to remove that + sign (link to add more enteries). [image: manytomany.png] Please let me know. Thanks. Rahul -- You received this message because you are subscribed to the Google Groups "Django users" grou

how to have different logo for django admin based on URL

2011-04-08 Thread rahul jain
Anyone ever tried to have different logos for admin based on the URL Like http://url/comp1 use comp1 logo for django admin always http://url/comp2 use comp2 logo for django admin always Thanks. Rahul -- You received this message because you are subscribed to the Google Groups "D

css issues

2011-04-09 Thread rahul jain
All, I copied the media directory from django project into my site project. This is what it looks like now mysite/ -- 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 unsubscr

Re: css issues

2011-04-09 Thread rahul jain
MEDIA_URL = '' ADMIN_MEDIA_PREFIX = '/media/' This is tested using development server and I have checked after deleting cache. But if if modify my css file, it still takes from my django installation not from my local css file ! Please let me know what i am missing ! Thanks. Rahul

Chess App

2015-02-15 Thread dravid rahul
Hi Experts , How can i build a chess app and deploy it on facebook.Can anyone please help me on this ,i had done google but i cant find it. Thanks Karthik -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Re: Chess App

2015-02-16 Thread dravid rahul
u have any specific questions you want answering, feel free to ask > > Cal > > On Mon, Feb 16, 2015 at 3:39 AM, dravid rahul > wrote: > > Hi Experts , > > > > How can i build a chess app and deploy it on facebook.Can anyone pleas

SHOP APP

2015-07-21 Thread dravid rahul
Hi can anyone please help me with this.. I am newbie to django. PLEASE FIND BELOW ATTACHMENT Thanks in Advance Dravid -- 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

Re: SHOP APP

2015-07-21 Thread dravid rahul
Tue, Jul 21, 2015 at 7:11 PM, dravid rahul wrote: > >> Hi can anyone please help me with this.. I am newbie to django. >> >> PLEASE FIND BELOW ATTACHMENT >> >> Thanks in Advance >> Dravid >> > > Dravid - we're not going to do your homewo

Re: SHOP APP

2015-07-21 Thread dravid rahul
ith-magee.com > wrote: > >> >> On Tue, Jul 21, 2015 at 7:11 PM, dravid rahul > > wrote: >> >>> Hi can anyone please help me with this.. I am newbie to django. >>> >>> PLEASE FIND BELOW ATTACHMENT >>> >>> Thanks in Advanc

Re: Need help on token-based authentication

2014-02-06 Thread Rahul Gaur
can get a brief idea. Let me know if you have any questions. Project Repos : https://github.com/aregee/moksaya https://github.com/aregee/musicstore Regards, Rahul On Thu, Feb 6, 2014 at 2:35 PM, Calvin Chen wrote: > Hi, > > I couldn't find any real example about how to u

Python

2014-02-24 Thread dravid rahul
*Hi Anyone can help me with this * I worked as a weblogic administrator and now i am changing to development and i am very much interested in python . please suggest me what are the things i need to learn more rather than python to get an I.T job. I came to Dja

Django raising error - hostname doesnot match.

2017-11-10 Thread Rahul Paul
Hi, I am using requests package to send a post request to an API within my application. I am using the request as : *requests.post("https://xx.xxx.xxx.xxx/my-admin/api/api2";, data=data)* where "xx.xxx.xxx.xxx" is the IP of my server on which this API is hosted. When I am trying to call thi

Re: Django raising error - hostname doesnot match.

2017-11-10 Thread Rahul Paul
In some place I wrote that "However the very same API is returning proper result with both --- IP address and domain name". I would like to correct hat this scenario is working when I am hitting the API from POSTMAN. On Friday, November 10, 2017 at 5:15:20 PM UTC+5:30, Rahul Paul wro

Re: Django raising error - hostname doesnot match.

2017-11-10 Thread Rahul Paul
Thanks James for your suggestion. So according to you, I must use the domain name and not the IP address anymore in my request. Thanks again. On Friday, November 10, 2017 at 11:09:59 PM UTC+5:30, James Schneider wrote: > > > > On Nov 10, 2017 3:45 AM, "Rahul Paul" > &

A public cloud with django backend

2016-09-15 Thread Rahul Doshi
Hi ,I want to setup a dropbox like server with django. So far i have achieved uploading files onto a location .I want these files to show up on browser which they do(while saving file to the location I indexed an entry in the Db so i just print the file names from the DB(POSTGRESQL).Now i want

Re: Does anyone know a Django-based website containing Member registration with membership management, Articles and Forum?

2017-02-12 Thread Rahul P
On Saturday, 4 February 2017 20:05:05 UTC+5:30, skyppy wrote: > > I would like to see some Django-based websites with Member registration, > membership management and Membership profiles, Articles and Forum. I've the > idea that all of those things are possible with Django, but up until know I

Restricting the user from closing the browser tab so that the server side APIs are called.

2017-05-31 Thread Rahul Paul
Hi, We are working on a django project in which we are developing a two way audio visual solution for the users. Now we have certain set of APIs that need to be called from JavaScript through ajax request when user ends the call through our end-call button. Some of these ajax calls are sequenti

Re: SMTPAuthenticationError sending email via smtp.gmail

2017-09-27 Thread rahul kumar
> > It is because Google blocks sign-in attempts from apps which do not use > modern security standards (mentioned on their support page). You can > however, turn on/off this safety feature by going to the link below: > > Go to this link and select Turn On > > https://www.google.com/settings/

Help to Create Dynamic Form

2020-03-19 Thread Rahul Roshan
s = ('bill_name', 'total_amount') > labels = { > 'bill_name': 'Enter the Expenditure', > 'total_amount': 'Enter the total amount', > } > > SplitFormSet = modelformset_factory( > Split, >

"": "ExtendedUser.user" must be a "User" instance.

2020-03-28 Thread Rahul Singh
i want add these additional field but i am getting this error. somebody plz help me model.py from django.db import models # Create your models here. from django.db import models # Create your models here. from django.db import models # Create your models here. from django.contrib.auth.mode

Initialize a formset with manytomany relationship

2020-04-21 Thread rahul sharma
I have two models connected by manytomany relationship and I am trying to use `formset` to create a dynamic form. I am able to save the form but the problem arise when I am trying to edit the saved instance, I don't know how to properly pass the instance to the formset such that it shows the in

bulk copy data from 1 model to another in django

2016-01-12 Thread Rahul Jha
I am having 2 model of similar schema and I want to bulk copy from model1 to model2 but model2 is having 3 more fields but I want to store null in these fields. class SubscriberBalanceProcess(models.Model): VOICE_SOC = models.CharField(max_length=50, null=True) SMS_SOC = mod

Re: Integrate appliction into Django

2016-02-28 Thread Rahul Gandhi
I haven't had a look at the github link, but if all you want to do is to display plots (I'm assuming these are images) and text files, then all you need to do is to serve these files from the views to the templates. You can store these plots/text files in a directory which is accessible to you

Re: Absolute beginner question -- recipes

2016-02-28 Thread Rahul Gandhi
You could do something like this: Instead of recipe['steps'] = Steps.objects.filter(recipe_id=pk) Do this: steps = Steps.objects.filter(recipe_id=pk) context = { 'recipe': recipe, } On Monday, February 29, 2016 at 1:00:25 AM UTC+5:30, Simon Gunacker wrote: > > Dear Django Co

Re: Absolute beginner question -- recipes

2016-02-28 Thread Rahul Gandhi
You could do something like this: def detail(request, pk): recipe = Recipe.objects.get(id=pk) steps = Steps.objects.filter(recipe_id=pk) template = loader.get_template('recipe/recipe_detail.html') context = { 'recipe': recipe, 'steps': steps } return HttpRes

Re: Absolute beginner question -- recipes

2016-02-28 Thread Rahul Gandhi
I might be wrong here, but this is what I understand: Let's say you have something like this: class Recipe(models.Model): name = models.CharField(max_length=255) description = models.TextField() class Step(models.Model): step_number = models.IntegerField() description = models.

Re: help

2018-07-06 Thread rahul sawra
You can Also Use on_delete= models.PROTECT whereever You use ForeignKey! On Fri, 6 Jul 2018 at 5:09 PM, Anirudh choudhary < anirudhchoudary...@gmail.com> wrote: > Add on_delete = models.CASCADE > EVERY WHERE YOU ARE USING FOREIGN KEY > > On Fri, 6 Jul 2018, 4:43 p.m. Umar Kambala, wrote: > >> p

Re: Django template cheat sheet or ebook

2018-07-30 Thread Rahul Gurung
search or google or pinterest. On 30 July 2018 at 09:14, aditya gupta wrote: > Can anyone tell me where I can find Django template cheat sheet or ebook. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and

Re: Installing and using django registration – backends

2019-01-03 Thread Rahul Verma
Can you try like ths urlpatterns = [ # Other URL patterns ... url(r'^accounts/', include('registration.backends.activation.urls')), # More URL patterns ... ] By the way, this is the documentation of Django Registration ,Hopefully it may help you. https://media.readthedocs.org/pdf/django-registr

Regarding OTP based login- Django

2020-09-25 Thread Rahul Gour
, Rahul Gour -- 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 view this discussion on the web vi

Re: E-comm live project

2024-04-29 Thread rahul sharma
7899403562 On Mon, Apr 29, 2024, 19:45 Pankaj Saini wrote: > Please share WhatsApp Group Link. > > On Mon, Mar 18, 2024, 10:56 PM 1001_prabhjot Singh < > prabhjotbal...@gmail.com> wrote: > >> so i am working on a full stack e-comm website and this project is really >> very big for me because it'

Re: error in models

2019-08-05 Thread rahul verma
it should be max_length=200 (not '200') On Mon, Aug 5, 2019 at 9:20 PM Eliseo Rodriguez wrote: > I believe you just need to remove the parentheses because it just needs a > number not a string. > > Die Empty > > On Mon, Aug 5, 2019, 10:24 AM Mudasir Mian > wrote: > >> Dear Team, >> im facing t

Re: Looking for Django registration API

2019-08-22 Thread Rahul Sharma
//groups.google.com/d/msgid/django-users/CAPjsHcFykoOCtdQPQiOj8YCpP6uPCJm_vwAsTwzAoEasVnK4wQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAPjsHcFykoOCtdQPQiOj8YCpP6uPCJm_vwAsTwzAoEasVnK4wQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- Rahul S

Re: Looking for Django registration API

2019-08-22 Thread Rahul Sharma
Try django-rest-auth . This is what I have used over the years. Easy to understand and implement. Hope it helps you. On Thursday, August 22, 2019 at 12:15:12 AM UTC+5:30, Sandip Nath wrote: > > Are there any ready to use user authent

Re: PLS Help Me in Securing Project - Application on PythonAnyWhere hosted

2019-09-05 Thread Rahul Roshan
/Learn/Server-side/Django/web_application_security Thanks, Rahul On Thu, Sep 5, 2019 at 8:27 AM Balaji Shetty wrote: > Hello Every one > > I am new to Django. I have been working from 4 to 5 months only. > I have deployed the real time Project on PythonAnywhere. > Client is using t

Re: migrate error

2019-09-10 Thread Rahul Roshan
Can you try contact_date default=" " ! On Tue, Sep 10, 2019, 12:22 PM ANi wrote: > > Another piece of advice, please prettify your code or take a screenshot, > not just paste it directly. > It is not easy to read to you as well, right? > > > > what had you done in this migration? > Was the ori

Re: migrate error

2019-09-10 Thread Rahul Roshan
First you can cleanup all migrations files in /migrations/*. And then try to provide *default=" " *for contact_no. Try to migrate all these changes ! On Tue, Sep 10, 2019 at 1:42 PM Pradeep Singh wrote: > okay . yes i did but problem are same > > On Tue, 10 Sep 2019 at

Re: ModuleNotFoundError: No module named :

2019-09-25 Thread Rahul Roshan
You have created a model named as "user" in models.py while you are importing model "User" in views.py. Importing model "user" will fix the issue. Thanks, Rahul On Thu, Sep 26, 2019 at 9:09 AM MEGA NATHAN wrote: > > hi. > > populate script error in

Re: Intern

2020-01-08 Thread Rahul Kumar
Hi Arjun, Give me a call at 8368529459. Regards, Amit Paul On Mon, Dec 23, 2019 at 11:23 PM Arjun Baidya wrote: > I have completed Bsc in CSE. I have good knowledge about python language > and machine learning algorithms. > Now I need a intern job opportunity which i can grow my skill. > Thanks

Using Daphne without altering nginx config on Google App Engine

2020-01-18 Thread Rahul Arora
t when I go to the site, I'm seeing a 502 Bad Gateway error on the site, with "nginx" in the next line. Is there a way to deploy Daphne without going into nginx configurations etc? I'm using an app engine only because I wanted to avoid doing micro-level tweaks on a cloud

Re: Using Daphne without altering nginx config on Google App Engine

2020-01-19 Thread Rahul Arora
d each time? Sorry for the barrage and thanks in advance, Rahul. On Sunday, January 19, 2020 at 1:41:09 PM UTC+8, Integr@te System wrote: > > Hi Rahu, > > Check chennel_layers setting as a sample in this doc for more helpful > > https://channels.readthedocs.io/en/latest/depl

Re: Using Daphne without altering nginx config on Google App Engine

2020-01-20 Thread Rahul Arora
Thanks but this is not a valid or useful comparison since GAE is a PaaS service whereas Nginx is a proxy server. In fact GAE itself uses Nginx which is why I'm getting the error from Nginx despite not configuring it myself. Rahul. On Monday, January 20, 2020 at 3:14:35 PM UTC+8, Inte

Re: Ongoing project

2020-12-20 Thread Rahul siddharth Dacha
Are you a beginner or already have experience in this field?(Django) On Thu, 17 Dec, 2020, 5:13 PM Peter Kirieny, wrote: > Hello team > I have a project in django > (developing an ecommerce website with some innovations) > > Using pycharm and python, am looking for a partner here > > Am a Kenya

Multiple themes with their own url.py and views.py

2022-01-10 Thread &#x27;Rahul Chauhan' via Django users
ich gives less flexibility. I want each theme to process and display data independently just like WordPress theme that has their own PHP scripts. Themes are placed inside a "Templates" folder on root. Any help in achieving this will be appreciated. Thanks Rahul -- This e-mail is in

Display Hierarchical Categories in Django Admin

2021-08-11 Thread &#x27;Rahul Chauhan' via Django users
Hi All, I have a category Model like this one which is based on *Adjacency List*. class Category(models.Model): name = models.CharField(blank=False, max_length=200) slug = models.SlugField(null=False) parent = models.ForeignKey('self', blank=True, null=True, related_name='child',on_d

Re: Display Hierarchical Categories in Django Admin

2021-08-12 Thread &#x27;Rahul Chauhan' via Django users
Thanks for the suggestion. But I don't want to use any third party addon/module such as MPTT or Tree-Beard. Regards R On Thursday, August 12, 2021 at 2:35:18 PM UTC+5:30 sebasti...@gmail.com wrote: > Hello Rahul, > > i Django MPTT tutorial you find in modely.py: > > f

Re: Error: NoReverseMatch at

2021-08-16 Thread &#x27;Rahul Chauhan' via Django users
27 PM UTC+5:30 abubak...@gmail.com wrote: > show your url, view and html code. > > On Mon, Aug 16, 2021 at 2:56 PM 'Rahul Chauhan' via Django users < > django...@googlegroups.com> wrote: > >> Hi All, >> >> I have a customized/override "*change

<    1   2