Re: Django Custom User model and making auth api

2021-04-03 Thread 'Ajay Rathore' via Django users
Hey, Another alternative is to use graph ql. https://github.com/graphql-python/graphene-django Regards *Ajay Rathore* Python Developer On Sat, Apr 3, 2021 at 11:43 AM Ayser shuhaib wrote: > django-rest-auth is still supported, it's not currently receiving updates, > but you can s

Re: ModuleNotFoundError -- Please help :)

2021-04-01 Thread 'Ajay Rathore' via Django users
try this *from reporter.models import Counties* Regards *Ajay Rathore* Python Developer On Thu, Apr 1, 2021 at 4:17 PM Ryan Nowakowski wrote: > Since your models aren't in the migrations python package, I would use an > absolute path in the import statement here rather than the re

Re: Python Django Training

2020-12-16 Thread Ajay Prajapati
Interested Regards, Ajay Prajapati |* SDE 2* Haptik M: +91 7030308678 On Wed, Dec 16, 2020 at 7:38 PM Chuck wrote: > add me also in the training group, thanks. > > On Tuesday, December 15, 2020, 05:51:21 AM PST, manishimwe emmanuel < > manishimweemmanu...@gmail.com> wrot

Re: Django Whats app Group

2020-08-06 Thread salla ajay
i am also interested .pls add me my whatsup number is 7981928765 subject:python dijago e -mail: sallaaj...@gmail.com On Wed, Aug 5, 2020 at 8:09 AM Vishnu Bhandari wrote: > Hi Folks, > Decided to make a whats app group of all django users (aspiring and > expert) for sharing problem and asnwers.

Re: Python-django project

2020-08-06 Thread salla ajay
i am interested On Wed, Aug 5, 2020 at 8:21 PM Nagaraju Singothu < nagarajusingoth...@gmail.com> wrote: > Im also interested.my whatsapp number is 7659965869 > > On Wed 5 Aug, 2020, 8:24 PM jhabar singh wrote: > >> Sapna, Can you tell me something about your project? >> >> On Wed 5 Aug, 2020, 5

Re: Please help me out!!!!!

2020-06-03 Thread &#x27;Ajay Rathore' via Django users
Hello Meera, Did you try using urls as And I think you should check what messages you received on the shell where you are running ./manage.py runserver command. This might give more information on the problem. Regards Ajay On Wed, Jun 3, 2020 at 10:21 AM meera gangani wrote: > He

Re: Change settings value during run-time in migrations

2018-09-27 Thread Ajay Tripathi
Hi Jason, You can't do it this way, unfortunately. I would suggest you use > https://github.com/jazzband/django-constance instead > Thanks, It helped me. Cordially, Ajay Tripathi (atb00ker) -- You received this message because you are subscribed to the Google Groups "Dja

Change settings value during run-time in migrations

2018-09-25 Thread Ajay Tripathi
a new value in it? If not, what possible options do i have to achieve that value in the defaults? **Note:** I am trying to avoid this solution[3] because my database might give millions of records and iterating over them isn't ideal. For external reasons i am also trying to avoid django-livese

customise list editable based on user group in django-admin

2016-11-10 Thread Ajay Kumar
I have two types of users - 1 superuser and 2 support user I need to customise list_editable so that only superuser can edit and support user can only view that field in django-admin interface. Please let me know which function do I need to override and how to do this. -- You received this messa

TypeError: $.get is not a function

2016-07-25 Thread ajay
//In scirpt $('#suggest').keyup(function () { var query = $('#suggest').value; $.get("/search/", {suggest:query},function( data ){ $("#list").html( {% for item in search_list %} ''+{{ item }}+ '' {% endfor %} )

Re: Help debugging static files issue

2016-07-22 Thread &#x27;Ajay M' via Django users
Dear developer, Please try to setup static files directory in your settings.py file. It should be a list, like below STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static', 'app'), os.path.join(BASE_DIR, 'static') ] Please let me know if you still face this iss

Model classes as containers to objects of another model

2016-07-19 Thread Ajay D
Hi All, I am fairly new to Django and find myself in the need to write to the group. I have a django model "A", which has an "items" attribute. "items" is a list with objects of another django model "B" (there are no relationships between A and B). Everytime I create a new instance of "A", I

Django simple Captacha

2016-07-19 Thread Ajay Kumar
hi Guys I tried django-simple-captcha on refering http://django-simple-captcha.readthedocs.io/…/la…/usage.html . Every thing works well and goes fine, I need few suggestion on it. 1. How efficiency is this? 2. How strong is th

Re: Provide me Links to learn django framework on Linux

2016-02-08 Thread Ajay Sharma
Many Thanks To Rafael and Christian . :) :) I am studying the resources now. On Wednesday, February 3, 2016 at 7:46:30 PM UTC+5:30, Ajay Sharma wrote: > > Hi everyone on the Group. > > I want resources and web links, where i can learn Django Framework On > Linux platfo

Provide me Links to learn django framework on Linux

2016-02-03 Thread Ajay Sharma
Hi everyone on the Group. I want resources and web links, where i can learn Django Framework On Linux platform as I am using Ubuntu for the development. Please help me . thank you to every one in Advance. >From Ajay . :) -- You received this message because you are subscribed

Re: Push notifications in Django

2015-07-07 Thread Ajay M
It is possible. You can send push notifications in django, using django-pushnotifications app. On Sunday, June 28, 2015 at 9:21:36 AM UTC+5:30, harsh.rathore14 wrote: > > I am Rails developer and new to Django. I want to build an Webapp which > will have push notification on comments, mentions e

Keeping sessions

2015-05-20 Thread Ajay M
Hi, I've created my own user model for my project and it is like this from django.db import models from webapp.models.groupimport Group from webapp.models.userrole import UserRole class GroupAdmin(models.Model): user_name = models.CharField(max_length = 200, blank=T

Django inline formset(UI) delete/remove

2015-05-11 Thread Ajay Kumar
I'm trying to do a inline formset with UI not with dajngo built in inlineformset_factory form.Here i'm done with add_view and edit_view.Here in the edit view i can update the existing record for the both parent and child model,and can add new record to the child model.But i cant remove the exis

The inline foreign key did not match the parent instance primary key.

2015-05-09 Thread Ajay Kumar
I'm trying to set custom id for my model, *models.py* from django.db import models import uuid def get_ref_id(): ref_id = str(uuid.uuid4())[:11].replace('-','').lower() try: id_exists = Sample.objecsts.get(ref_id = ref_id) get_ref_id() except: return ref_id class Sample(models.Model):

Re: Can't perform Querying using Q objects

2015-03-11 Thread Ajay M
keywords or things like that. For > example, searching for "ski shop" will not match a Shop with name "ski > super shop". > > On Wed, Mar 11, 2015 at 11:30 AM, Ajay M > wrote: > >> Hi I'm a newbie to Django. I'm trying

Can't perform Querying using Q objects

2015-03-11 Thread Ajay M
Hi I'm a newbie to Django. I'm trying to implement a search feature like this. query_results = Shops.objects.filter\ (Q(shop_name__icontains=search_text)\ |Q(state__state_name__icontains=search_text)\ |Q(city_

Using class based views.

2015-02-23 Thread Ajay M
Hi all, I'm on a Django project, and I have written the following functions in my views.py. def my_view_function_1(request): #Some code return HttpResponse(--) def my_view_function_2(request): #Some code return HttpResponse(--) def my_view_function_3(request): #Som

Django Inline formset with jquery

2015-02-16 Thread Ajay Kumar
Hello all, I'm trying to build this following link feature in django, http://demo.smarttutorials.net/jquery-autocomplete/ Here by choosing serial_no and the rest of the fields name and author should be auto populate. Auto populate works for first inline formset and able to save it but when I

Django inlineformset autocomplete and autopopulate by ajax

2015-02-12 Thread Ajay Kumar
I'm trying to do this following link feature in django, http://demo.smarttutorials.net/jquery-autocomplete/ Here by choosing country the rest of the fields will be auto populated, like this i'm trying to achieve in django, If any idea pls tell me it will be very great for me This is Product

Django Query Set

2015-02-11 Thread Ajay M
I'm on a Django Project, I'm stuck with this situation. I've 3 Models, records,users and towns. Records are posted by users who belongs to towns. User may be a mobile user or a web user. Primary key of users is a foreign key in records, primary key of towns is a foreign key in users. I need to

Django Auth\Auth

2015-02-01 Thread Ajay M
Hi, I'm a new bee to Django, I need to use signup/login facilities in my project How do I customize and use django Auth/Auth feature? On sign up I have to store many details than just first_name, last_name, email and password. Can any one help me :) ? -- You received this message because you ar

Custom Model Field in Django

2011-06-06 Thread Ajay
I have a model lets say, MyModel which has a foreign key to another model say Tag. class MyModel(models.Model): id=models.AutoField(primary_key=True) name=models.CharField(max_length=200) tag = models.ManyToMany(Tag) I have approximately 50,000 instances of MyModel and each MyModel ca

Re: Newbie Problem with Django reverse()

2011-03-28 Thread Ajay
need for a name > argument. When you are specifying a name for an expression and it have > got the same name as the controller a conflict arise. Just drop the > name argument and it should work. > > Alendit. > > On 27 Mrz., 09:54, Ajay wrote: > > > I am missing something

Newbie Problem with Django reverse()

2011-03-27 Thread Ajay
I am missing something really basic here. I am trying to reuse django's change password views. I have following in urls.py: (r'^change-password/$', 'profile.views.change_password', {},'change_password'), url(r'^change-password-done/$', 'profile.views.password_change_done', name='django.contrib.au

Design help

2011-03-23 Thread Ajay
st be sent a mail once approved. 2. new profile of user can be saved only after approval by admin. Sorry for the long mail. Regards Ajay -- 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@

Configuring Django-Sentry to send error mails

2011-03-04 Thread Ajay
am using django-sentry for logging errors. I also want to enable throttled error mails to be sent to admins whenever an error occurs. But I can not get it working. a) Normal django error mailing is working. b) but on removing ADMINS and adding SENTRY_ADMINS(like below) it stops working: DEBUG

django models/ sqlalchemy

2009-08-26 Thread ajay
HI, I have used sqlalchemy for database model creation instead django default ORM. Now i need to use fixture to load the initial data as i run test cases. This is error message "DeserializationError: Invalid model identifier:" The models are not defined in models.py file as i am us

Django model register for admin section

2009-08-18 Thread ajay
,Choice,Vote) with thanks Ajay --~--~-~--~~~---~--~~ 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

problem in executing sqlflush option in windows

2009-08-04 Thread ajay
Hi, Am trying to run sqlflush command on windows OS. Below is what i tried C:\>Python26\Scripts\django-admin.py sqlflush Error: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined. My site is in folder c:\src\mysite is my project site