Re: Về: Exciting Opportunity: Join Our Django WhatsApp Bulk Messaging Project!

2024-02-29 Thread Akash Shekhavat
I am interested 9834295393 On Thu, 29 Feb, 2024, 5:16 am yaamoussa-solution, < yaamoussa02di...@gmail.com> wrote: > hello i am interesting > > > Le sam. 24 févr. 2024 à 15:03, Hoàng Xuân a > écrit : > >> Hi! Please can you add me to join the group ? Thank you ! >> --

Re: Get experience letter and job opportunities

2024-02-16 Thread Akash Shekhavat
Hii I am also interested +919834295393 On Fri, 16 Feb, 2024, 4:36 pm kumbhaj shukla, wrote: > Hii > Add me as well. > > https://www.linkedin.com/in/kumbhaj > > On Fri, Feb 16, 2024, 12:10 PM william Kachuma wrote: > >> hi >> >> Please add me aswell >> >> Kind regards >> >> On Wed, 14 Feb 2024 a

Re: ImportError: cannot import name 'employees' from 'rest_framework'

2022-09-01 Thread Akash Kundoo
>From where you're importing employees? Check that? On Thu, 1 Sep, 2022, 7:31 pm Pooja Kumari, wrote: > Can anyone explain this error? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving em

Re: is anybody know how to add multiple fields on html form when user click on + icon

2022-06-17 Thread Akash Verma
You can use js or jquery for that. On Fri, Jun 17, 2022, 12:38 PM Abhinandan K wrote: > for example- > fields are- > name,age,salary. + > and when user click on + sign same fields increased according to user > clicks on + sign.. > > -- > You received this message because you are subscribed to t

Re: help

2021-10-26 Thread Akash Verma
Use python -m django-admin startproject On Tue 26 Oct, 2021, 3:45 PM Kasper Laudrup, wrote: > On 25/10/2021 21.59, Planet X wrote: > > hey there i can not figure out while django is installed to but its > > showing django-admin is not recongnized as an internal or external > > command please he

What values is expected for CSRF_COOKIE_PATH ?

2021-01-29 Thread akash tyagi
This should either match the URL path of your Django installation or be a parent of that path. This sentence is confusing to me. Suppose my domain name is demo.com , and I have django apps as App1,App2. Both uses CSRF token. What should be the correct CSRF_COOKIE_PATH here ? -- You received

Re: load static in css file

2020-08-24 Thread &#x27;Akash Sinha' via Django users
Hi Create a folder inside ur project as static and keep ur images,css and js files into that folder then in your settings.py file define static path. U need to run python manage.py collect static command on terminal and then you have to link that css file in HTML Hint: check for Managing stati

Re: Unable to import HTML code

2020-07-05 Thread &#x27;Akash Sinha' via Django users
In your settings.py file you have to mention your static path , please check if you have mentioned that. 2nd if everything is good . Try to access that css file on the browser .start the server with python manage.py runserver and type the full path of the file in url,("localhost:8000/static/sty

Django admin change history log ?

2019-11-16 Thread Akash Rajgure
HI, In Django admin application there is a history page, which shows the modification history for a given model. In different models the changes field shown differently: action or comment. Cannot add pics, so here is the link to the pic: Django Classes in Pune

Re: Django is not working

2019-08-22 Thread &#x27;Akash Sinha' via Django users
You are using python 2.7 with Django , I will suggest you should use python 3.6 or above. Sent from Yahoo Mail on Android On Fri, Aug 23, 2019 at 3:14 AM, Tom Gertin wrote: Hello, I have successfully install Django 1.11.22. However, I believe something is wrong because I cannot get the c

Learn_Master_Django

2019-06-23 Thread akash bhanu Tiwari
I want to learn and to be master in Django. But the official documentation was so hard to understand. Please give me some link, suggestions.. please need urgent.. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group a

Re: reg: Django model sequense of the fields

2019-05-18 Thread &#x27;Akash Sinha' via Django users
Position doesn't matters. On Fri, May 17, 2019 at 7:12 PM, Test Bot wrote: [Just Curious] would it matter in any way what the position of field is in the respective tables. On Fri, May 17, 2019, 5:46 PM 'Akash Sinha' via Django users wrote: Hello  This happens fo

Re: reg: Django model sequense of the fields

2019-05-17 Thread &#x27;Akash Sinha' via Django users
Hello  This happens for 2 reasons 1st. Those fields might be Foreign key, Foreign key fields are shown at the end in DB. 2nd.  You have added those fields later in our model class, if you will add new fields in model.py file those fields will be listed at the end. On Wed, May 8, 2019 at

error 403 on admin login

2019-04-10 Thread Akash Kumar
I was following the official polls app tutorial on Django on v2.2. i have created the superuser of the first time but whenever I log in it shows error 403 forbidden (csrf token missing or incorrect) can anyone plz help me. -- You received this message because you are subscribed to the Google Gro

Re: Regarding internship opportunity in Bangalore

2019-03-28 Thread Akash Purandare
Hey Sachin If you might be interested in Full Stack Development of a Website, please do send me your CV. We work in a startup called Oversight. Regards Akash Purandare akash.p1...@gmail.com On Thursday, March 28, 2019 at 11:24:18 PM UTC+5:30, sachin thakur wrote: > > Hi Folks > T

Looking for a Django Intern in India

2019-03-28 Thread Akash Purandare
Proficiency in Git and Heroku Interested developers can send their CV to the E-mail Akash Purandare . Vacancies: 2 Regards Akash Purandare Oversight akash.p1...@gmail.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: Image Upload in admin panel

2019-02-14 Thread Akash Purandare
see the model in your admin panel and thus upload the image there. To show an image in the HTML page, you will need to create a view function and pass a context with {item: } and then write in your template code `` Regards Akash Purandare On Friday, February 15, 2019 at 12:07:04 AM UTC+5:30

Authorization not working on production server

2018-12-07 Thread Akash utreja
""whole code"" else: return Response({'error': 'Unauthorized'}, status=status.HTTP_401_UNAUTHORIZED) My request.user.has_perm return false because request.user is Anonymous.I also try to return my request.user.username it is also coming b

Re: file URL missing project name

2018-11-20 Thread Akash Purandare
working. If not, can you send me the URL and the uploaded path of the Admin panel uploaded file? Regards Akash Purandare On Sunday, November 18, 2018 at 8:48:04 PM UTC+5:30, Jeff Williams wrote: > > Hi All, > I'm new to django, so sorry if this is a newbie issue. > > I'

Re: file URL missing project name

2018-11-19 Thread Akash Purandare
Hey Jeff Can you send me the URL of the file and the Location of the uploaded media file? Regards Akash Purandare On Sunday, November 18, 2018 at 8:48:04 PM UTC+5:30, Jeff Williams wrote: > > Hi All, > I'm new to django, so sorry if this is a newbie issue. > > I

Django token base authentication using python

2018-11-18 Thread Akash utreja
re random mean not a particular api get unauthorized. Am I missing something?Please help me out here! Thanks Akash -- 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 e

Re: file URL missing project name

2018-11-18 Thread Akash Purandare
4633-8BF6-C5C9A82D87EE.JPG. So if you change the upload_to to '', the URL will be http://localhost:8000/oldgrub/media/56288852088__208FCEF9-5890- 4633-8BF6-C5C9A82D87EE.JPG. Hope this fixes the issue that you are facing. Regards Akash Purandare On Sunday, November 18, 2018 at 10:57:31 PM UTC

Re: file URL missing project name

2018-11-18 Thread Akash Purandare
Hey Jeff I think that you might need to upload the file again and try. Let me know if it works out. Regards Akash Purandare On Sunday, November 18, 2018 at 9:56:13 PM UTC+5:30, Jeff Williams wrote: > > OK this is almost fixed: > > Why isn't this path matching? > &

Re: Exception Value: fe_sendauth: no password supplied

2018-11-18 Thread Akash Purandare
Hi Akash Can you specify as to what error you are facing? Also, I believe that the ENGINE that you are using must be 'django.db.backends.postgresql' as given in the official docs of Django: https://docs.djangoproject.com/en/2.1/ref/settings/#std:setting-DATABASE-ENGINE Reg

Re: file URL missing project name

2018-11-18 Thread Akash Purandare
t settings from django.conf.urls.static import static urlpatterns = [ ...(Your Urls) ]+static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) Regards Akash Purandare On Sunday, November 18, 2018 at 8:48:04 PM UTC+5:30, Jeff Williams wrote: > > Hi All, > I'm new to django, so so

Exception Value: fe_sendauth: no password supplied

2018-11-18 Thread akash
hi all i am trying to connect to postgres db and display records on webpage i have set up dyango project but not sure why i am getting this error. settings.py DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'test', 'USER': 'abtec

I can't start django

2018-11-16 Thread Akash Purandare
Can you show the output of pip freeze in your virtual environment? -- 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

using permission required

2018-11-14 Thread Akash utreja
I am trying to use permission required decorator using authorization header.And it always gives me 302 error. although my user has permission for it.Kindly help I am beginner to django. Here is my code @permission_required('access_admin', login_url=None) @permission_classes((IsAuthenticated,)) @

Re: hi everyone

2018-11-11 Thread akash kandpal
I mean we can see some working projects and learn from it by implementing them ourselves and thus it will be more of a learning opportunity for us. Regards, Akash Kandpal. On Mon, Nov 12, 2018, 12:22 PM Joel I don't really understand what you mean. How can you put something on your >

Re: hi everyone

2018-11-11 Thread akash kandpal
ribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https:/

Re: Library not loaded: libssl.1.0.0.dylib New Mac on Mohave

2018-11-11 Thread Akash Purandare
Hey Andrew Can you show the output of pip freeze? On Saturday, November 10, 2018 at 4:38:59 PM UTC+5:30, Andrew Troiano wrote: > > Hey, > > I am trying to get my app running on a new Mac. It's on Mohave, python > 2.7, here is the stack trace. https://dpaste.de/m9WO . We are getting > Library

Re: Need help with CDN on Django App using heroku

2018-10-22 Thread Akash Purandare
Thank you for the fast reply. However the issue is not with Whitenoise. Whitenoise can be used to serve static files, yes. But how do I use it to serve media assets in the project? On Monday, October 22, 2018 at 9:11:02 PM UTC+5:30, Andrew Pinkham wrote: > > https://devcenter.heroku.com/articles

Need help with CDN on Django App using heroku

2018-10-22 Thread Akash Purandare
I am trying to serve both static and media files on Heroku by using an S3 bucket, but I do not know how to properly configure the settings.py for the same. Does anyone know how to do it? If you do, please direct me to the correct set of information. -- You received this message because you are

Re: Cannot deploy Django project on Heroku from a Ubuntu 18.04 laptop

2018-10-22 Thread Akash Purandare
You can use Pipenv to specify the version of python to Heroku. Personally, I have used upto Python 3.7 to deploy my Django projects, seems to work best with Pipenv On Monday, October 22, 2018 at 5:52:05 PM UTC+5:30, Mo-rema07 wrote: > > Hello people, > > Can I please get help? I am a noob using

Urls in Django model for dynamic template loading

2018-10-19 Thread Akash Purandare
I am creating a website in django and I was wondering how I can add a url to Django Model and then retrieve that url to provide to the {% url 'url_in_db'%} in the templates. If not, can anyone give me any other suggestions to achieve this? -- You received this message because you are subscribe

Re: ManyToMany relationship with through_fields and Admin

2018-08-28 Thread akash kandpal
What changes you did ? Regards, Akash Kandpal. On Wed, Aug 29, 2018, 12:34 AM Vincent wrote: > I figured it out : > > from django.db import models > from django.contrib.auth.models import User > > > # Create your models here. > class Events(models.Model): > Name =

Re: syntax error

2018-07-25 Thread akash kandpal
In the she'll try this python import django print (django.VERSION) On Wed, Jul 25, 2018, 4:54 PM Akhil Reddy wrote: > So what is the solution for this pblm.. > > > On Wed 25 Jul, 2018 7:38 am deepali pandey, > wrote: > >> $ python -m django --version showing syntax error? also i am unable to >

Re: How do I exactly change from SQLite to MySQL ?

2018-01-15 Thread akash . sharma
Hi, i haven't used other db's but agree with Mike. It's good enough. On 15-01-2018 05:40 PM, Mike Dewhirst wrote: > Since no-one has suggested avoiding MySQL I should say that I have a few > small websites and every time I check the logs they are full of uglies trying > to access phpmyadmin. E

ModuleNotFoundError: No module named 'C:\\Program Files (x86)\\Python36-32\\Lib\\site-packages\\Django-1'

2017-08-04 Thread Akash Singh
Hi, I am starting to learn Django. When I installed django for the first time, it was working fine, when i restarted my system it is giving the above mentioned error. I tried editing the *path* environment variable but still it doesn't work. *django-admin.py* file is in *C:\Program Files (x86

testing in django

2017-05-23 Thread Akash Tomar
class SignUpTest(TestCase): def test_createAccount(self): my_data = {'username': 'akash.tomar107', 'password': 'akashtomar',"email":"akash.tomar...@gmail.com", "confirm_password":"akashtomar", "type_of_user&q

passing list of objects as manytomany field type in django

2016-01-06 Thread Akash Tomar
I want to know if we can pass a list of objects (in this case list of blog objects to the Entry model as the manytomany object parameter). On doing so i am not getting the desired result. Please help. models.py class Blog(models.Model): id=models.AutoField(primary_key=True) class Entry(mo

Input using barcode scanner

2015-12-04 Thread Akash Tomar
I want to take input in my html page using the barcode scanner. How do i do this in django???..do i need some additional module or package to do so?..or django itself is strong enough to do that...please help me with a sample code for implementing it. -- You received this message because you a

No exception supplied error while resizing image by using blobproperty

2015-05-19 Thread akash . patni
Hi guys, I am resizing image using blobproperty but it s giving BadImageError with no exception supllied. Here is my code for resizing: *bg_image = request.FILES['bg_image'].read(*) *obj_partner.bg_image = db.Blob(images.resize(bg_image,1400,758)) // error line* and i am uploading image w

TIMEZONE

2015-04-08 Thread akash . patni
Hi to all , Previously my settings.py file was having time zone as TIME_ZONE = 'America/Chicago' now i have changed to TIME_ZONE = 'Europe/London' that not getting reflected means date and time are getting stored in database as of previous timezone... Please suggest. -- You received this

Re: Textarea taking htnml tags

2015-03-30 Thread Akash Patni
{% endfor %} {% endif %} {% endfor %} I had also used striptag filter and this is also not working... On Mon, Mar 30, 2015 at 9:11 AM, Akash Patni wrote: > *Hi,* > *This my template* > {% block content %} > > > > > src="

Re: Textarea taking htnml tags

2015-03-29 Thread Akash Patni
+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/55159AA1.9070605%40arkade.in

Re: textarea showing image instead of code

2015-03-27 Thread Akash Patni
the web visit > https://groups.google.com/d/msgid/django-users/55151EC7.3090403%40arkade.info > <https://groups.google.com/d/msgid/django-users/55151EC7.3090403%40arkade.info?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout

textarea showing image instead of code

2015-03-27 Thread akash . patni
Hie to all, In one of my template i am using text area. The issue is that when i write html tags with some image link using img tag, when i am saving this i am getting image on the desription field. Actual-Image is comming Expected-I want HTML code to be displayed in the discription. Please su

Textarea taking htnml tags

2015-03-26 Thread akash . patni
Hie to all, In one of my template i am using text area. The issue is that when i write html tags with some image link using img tag, when i am saving this i am getting image on the desription field. Actual-Image is comming Expected-I want HTML code to be displayed in the discription. Please su

Re: Image resizing

2015-03-26 Thread Akash Patni
name.split('.')[-1] image = Image.open(image_file) imageresize = image.resize((100,100), Image.ANTIALIAS) filename = hashlib.md5(image_file.getvalue()).hexdigest()+'.'+ext * imageresize.

Re: Image resizing

2015-03-25 Thread Akash Patni
te: > Hi, > > Again, you should really put this in your database model instead of in the > view. If you use your overriden save function, you would be able to add > this there. Also, you check if the image is not an L or RGB image (don't > know what L is) and resize it ONLY

Re: image handling

2015-03-25 Thread Akash Patni
Of course the other parts of the user object needs to be added as well. As > you can see, I have also set a path for upload_to instead of a function, > because using a function is only necessary when you want to set a unique > path for each image (for example using the id for it). > &

Re: Image resizing

2015-03-25 Thread Akash Patni
uot;edit_profile.html",{"form":regform,}) else: regform=Edit_Registration(instance=usr_obj) return render_to_response("edit_profile.html",{"form":regform,"user_id":user_id}) else: return HttpResponseRedir

Re: image handling

2015-03-24 Thread Akash Patni
field which i have highlighted. Is it right, Please sugges. On Wed, Mar 25, 2015 at 9:28 AM, Akash Patni wrote: > Hi, > I have added the code to my __init__.py file but still its not working. > > __init__.py > from django.core.files.storage import default_storage as storage &g

Re: image handling

2015-03-24 Thread Akash Patni
to have 4 blankspaces in your file, so make sure > the indentation is the same). > > Secondly, I think that you should add the code I sent to the __init__.py > file in the project itself (in the same directory that you have you > models.py). That way it will be run during startup (which

Re: image handling

2015-03-24 Thread Akash Patni
arField(verbose_name = "Sex *",max_length=5,blank=False) image=models.FileField(verbose_name = "Image(limit 1Mb) *",blank=True,upload_to=path_and_rename('')) def __unicode__(self): return self.first_name On Tue, Mar 24, 2015 at 6:47 PM, Akash Patni

Re: image handling

2015-03-24 Thread Akash Patni
7;s more sensible and more DRY to do it in the model. > > Regards, > > Andréas > > 2015-03-24 14:10 GMT+01:00 Akash Patni : > >> Hey, >> I am new to django. I have other feilds also other than image field in my >> form, so will you please tell me how to use abo

Re: image handling

2015-03-24 Thread Akash Patni
i upload new image,the old image should >> get deleted >> >> On Tuesday, March 24, 2015 at 2:40:35 PM UTC+5:30, akash...@ranosys.com >> wrote: >>> >>> hi.. >>> Can anyone please tell me how to handle old image after uploading new >>> imag

Re: Image resizing

2015-03-24 Thread Akash Patni
go-users/5938a0d0-af8a-44aa-96c4-5d234f3e2cc4%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the >

Re: image handling

2015-03-24 Thread akash . patni
When i edit image that is when i upload new image,the old image should get deleted On Tuesday, March 24, 2015 at 2:40:35 PM UTC+5:30, akash...@ranosys.com wrote: > > hi.. > Can anyone please tell me how to handle old image after uploading new > image. > -- You received this

Re: image handling

2015-03-24 Thread akash . patni
hi any answer On Tuesday, March 24, 2015 at 2:40:35 PM UTC+5:30, akash...@ranosys.com wrote: > > hi.. > Can anyone please tell me how to handle old image after uploading new > image. > -- You received this message because you are subscribed to the Google Groups "

Re: image handling

2015-03-24 Thread akash . patni
This is my edit profile function in view def edit_profile(request): if 'username' in request.session: user_id=request.POST.get('id') user_id=request.GET.get('id') usr_obj=User.objects.get(id=int(user_id)) if request.method=="POST": regform=

Image resizing

2015-03-24 Thread akash . patni
Hi.. can anyone please tell me how to resize the uploaded image This is my model class User(models.Model): first_name=models.CharField( verbose_name = "First Name *",max_length=20,blank=False) last_name=models.CharField(verbose_name = "Last Name *",max_length=20,blank=False) userna

Re: image handling

2015-03-24 Thread akash . patni
This is my model class User(models.Model): first_name=models.CharField(verbose_name = "First Name *",max_length=20,blank=False) last_name=models.CharField(verbose_name = "Last Name *",max_length=20,blank=False) username=models.EmailField(verbose_name = "Email *",max_length=30,blank=F

Re: image handling

2015-03-24 Thread akash . patni
Hi , I want to delete the old image. On Tuesday, March 24, 2015 at 2:40:35 PM UTC+5:30, akash...@ranosys.com wrote: > > hi.. > Can anyone please tell me how to handle old image after uploading new > image. > -- You received this message because you are subscribed to the Google

image handling

2015-03-24 Thread akash . patni
hi.. Can anyone please tell me how to handle old image after uploading new image. -- 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...@google

Help in Django-contact-form

2015-01-27 Thread Akash Nimare
Hello everyone. I am using a third party app django-contact-form. It is working fine but the problem is it does not show my models in admin. I can't see the data in admin. The docs are very poor. Here is my model.py from django.db import models from contact_form.forms import ContactForm class C

Refactoring normal view into class based view

2015-01-22 Thread akash nayyar
Hi guys any idea how the following view could be refactored into class based view? I want to convert this view into more structured class based view. def student_application(request, project_slug): profile = StudentProfile.objects.get(user=request.user) project = Project.objects.get(slug=

i18n issue with compilemessages

2011-01-14 Thread Akash
not sure If I should be using os.system for this, or if there is another way to run it from apache. I am sure I am doing something wrong out here. If someone have faced this before and have got some solution, then please guide me to get through it. Regards, Akash -- You received this messa

django to php

2010-11-30 Thread Akash Mukherjee
Hello, I have a webapp created in django. Now I want to convert the entire code into PHP. Is it possible?? If yes, how? Thanks Akash -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

pickle error in DecimalField

2010-01-06 Thread Akash
I am using DecimalField in django table for pricing. It works fine sometimes but sometimes it throws an Pickle error (PicklingError: Can't pickle : it's not the same object as decimal.Decimal). I am importing decimal module in views also. Have anyone encountered this issue? Can anyone help on this