Re: Reg: Django signal not working

2020-04-23 Thread sahil khan
https://youtu.be/lHQI9ydQlSU Here is the Link for your Problem. if you like the solutions please like share and subscribe errormania. in your groups and join our telegram channel: @errormania And share in your groups and with other developer friends thank you On Wed, 22 Apr 2020, 8:30 pm

Re: Reg: Django signal not working

2020-04-22 Thread Jorge Gimeno
On Wed, Apr 22, 2020 at 4:55 AM 'Amitesh Sahay' via Django users < django-users@googlegroups.com> wrote: > Hello Sahil, > > Thank you for the youtube link. The video has done the exactly same thing > that I am doing. However, I understand that the user registration is > created through default

Re: Reg: Django signal not working

2020-04-22 Thread 'Amitesh Sahay' via Django users
Hello Sahil, Thank you for the youtube link. The video has done the exactly same thing that I am doing. However, I understand that the user registration is created through default "User" model, and UserCreationForm. However, I am adding a custom field "city", and its not working for me.  Except

Re: Reg: Django signal not working

2020-04-21 Thread sahil khan
Hello i am from google group plz see this video chennel and solve your problem https://youtu.be/QDk3rI_H3ks like comment and subscribe and share so that another people get help this channel On Mon, 20 Apr 2020, 4:28 pm Aditya Singh, wrote: > What's the original issue please, seems like you

Re: Reg: Django signal not working

2020-04-21 Thread Anonymous Patel
https://youtu.be/QDk3rI_H3ks Checkout this video from errormania They explained about signal. If that doesn't help leave comment there they provide you with a video in a day Raj Patel On Tue, 21 Apr, 2020, 9:34 am 'Amitesh Sahay' via Django users, < django-users@googlegroups.com> wrote: > Hello

Re: Reg: Django signal not working

2020-04-20 Thread 'Amitesh Sahay' via Django users
Hello Aditya, I am using Django's "User" and "UserCreationForm" to create registration and login page and it's backend logic. So far so good. I could add the default fields to my registration page and it's working as per required. However, I want to add a custom field "contact" as it does not

Re: Reg: Django signal not working

2020-04-20 Thread Aditya Singh
What's the original issue please, seems like you picked things up with someone till this email. Regards, Aditya On Mon, Apr 20, 2020, 3:11 PM 'Amitesh Sahay' via Django users < django-users@googlegroups.com> wrote: > -+c Hello Jorge, > > After doing some research, I realized that the signal

Re: Reg: Django signal not working

2020-04-20 Thread 'Amitesh Sahay' via Django users
-+c Hello Jorge,  After doing some research, I realized that the signal which is saving the user profile should have  "instance.signup.save()" , as the name of the custom model is signup. This time I still got the error .However,  I could create the new user and login to the website. However,

Re: Reg: Django signal not working

2020-04-19 Thread Jorge Gimeno
Amitesh, Where is User.profile defined? -Jorge On 4/18/20, Saurabh Ranjan Singh wrote: > I am having the same issue. Please fix it. > > On Friday, 17 April 2020 22:47:40 UTC+5:30, Amitesh Sahay wrote: >> >> Hi, >> >> I am creating a Django signup form through "User" model and >>

Re: Reg: Django signal not working

2020-04-18 Thread Saurabh Ranjan Singh
I am having the same issue. Please fix it. On Friday, 17 April 2020 22:47:40 UTC+5:30, Amitesh Sahay wrote: > > Hi, > > I am creating a Django signup form through "User" model and > "UserCreationForm" and customized the User model to accommodate single user > defined field "contact". > >

Reg: Django signal not working

2020-04-17 Thread 'Amitesh Sahay' via Django users
Hi, I am creating a Django signup form through "User" model and "UserCreationForm" and customized the User model to accommodate single user defined field "contact". However, the signal that I have written seems not to be working. Whenever, I am filling the form, I am getting below error:

Re: angular setup for django (routes not working)

2019-12-30 Thread Andréas Kühne
Hi, You can't have the routes for the frontend and the backend. For example: /clients/1/ in urls.py and in the angular routes. Then it all goes back to who gets the route first. For this example the frontend should have: /clients/:id/ and the backend should: /api/clients/id/ Regards, Andréas

Re: angular setup for django (routes not working)

2019-12-29 Thread nitish kumar
we have a web app which is hosted in apache mod_wsgi. I am trying to update some of the app functionality/UI with angular 8. everything works of but angular routes are not working , which is important for single-page app On Friday, 27 December 2019 20:50:42 UTC+5:30, lemme smash wrote: > >

Re: angular setup for django (routes not working)

2019-12-27 Thread lemme smash
you doing something strange. usually, when you want to setup angluar with django, you just using `ng serve` to handle all the interface, and just use django for data and api. it's not a good idea to render angular app with django On Thursday, December 26, 2019 at 4:05:14 PM UTC+3, nitish kumar

angular setup for django (routes not working)

2019-12-26 Thread nitish kumar
Hi I am trying to integrate angular8 with Django (2.2.4). *Django side*: URL and view will load angular 'index.html' *angular:* some router-links. based on URL pattern page is getting loaded. *problem statement:* *if host only angular code using 'ng serve' router-link only load's

Re: Generic Views in Django Tutorial Not Working

2019-11-01 Thread Nijo Joseph
class IndexView(generic.ListView): template_name = 'polls/index.html' context_object_name = 'latest_question_list' def get_queryset(self): """Return the last five published questions.""" return Question.objects.order_by('-pub_date')[:5] the def get_queryset(self):

Re: Generic Views in Django Tutorial Not Working

2019-11-01 Thread Kasper Laudrup
Hi Mike, On 01/11/2019 09.14, Mike Starr wrote: Hi! There's a lot of error message to copy and paste so please request what you would like to see specifically. I am at https://docs.djangoproject.com/en/2.2/intro/tutorial04/#use-generic-views-less-code-is-better in the Django tutorial and it

Generic Views in Django Tutorial Not Working

2019-11-01 Thread Mike Starr
Hi! There's a lot of error message to copy and paste so please request what you would like to see specifically. I am at https://docs.djangoproject.com/en/2.2/intro/tutorial04/#use-generic-views-less-code-is-better in the Django tutorial and it seems replacing HTTPRequests with GenericViews

Re: Django URL not working on my windows 10

2019-10-18 Thread kishor kumar Bharti
use following code in project urls.py from django.contrib import admin from django.conf.urls import url,include from second_app import views urlpatterns = [ url(r'^$',views.index, name='index'), url(r'^second_app/',include('second_app.urls')), url(r'^admin/', admin.site.urls), ]

Re: Django URL not working on my windows 10

2019-10-17 Thread vineet daniel
Scrernshot5 there should.be a comma before name. On Thu, 17 Oct 2019, 20:26 vineet daniel, wrote: > Typo in include in urls.py file instead of incliude it should be include. > Thats something that i could see immediately. > > On Thu, 17 Oct 2019, 20:22 Muhamed Bešić, > wrote: > >> wtf i have

Re: Django URL not working on my windows 10

2019-10-17 Thread vineet daniel
Typo in include in urls.py file instead of incliude it should be include. Thats something that i could see immediately. On Thu, 17 Oct 2019, 20:22 Muhamed Bešić, wrote: > wtf i have done wrong, i'm getting bored, URL mapping not working anyway, > anyone please, review the files and give a

Re: Django server not working on my windows pc

2019-10-17 Thread Integr@te System
Try to check PATH/enviroment variable and permission of project folders -- 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

Re: Django server not working on my windows pc

2019-10-16 Thread Parvez Khan Pathan
send your url mapping snippet code to figure out your silly mistake. It happens! On Thu, 17 Oct 2019, 1:56 am Edwin Cooper Van Dyke < mibnbwsafiei...@gmail.com wrote: > I do exactly same as tutorial but when I map url, it get either server not > connected or circular import error, no sr import

Django server not working on my windows pc

2019-10-16 Thread Edwin Cooper Van Dyke
I do exactly same as tutorial but when I map url, it get either server not connected or circular import error, no sr import Error -- 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,

Django translate_url not working with optional parameters

2019-09-26 Thread NKSM
I am using django 1.11. My url is: url(r'^apply(?:/(?P[\d-]+)/(?P[\w-]+))?.html$', applyview, name= 'applyview'), Line to tranlate url: translate_url('/nl/job/apply.html', "fr") Django internal function: def translate_url(url, lang_code): """ Given a URL (absolute or relative), try

Django translate_url not working with optional parameters

2019-09-26 Thread NKSM
I am using django 1.11. My url is: url(r'^apply(?:/(?P[\d-]+)/(?P[\w-]+))?.html$', applyview, name= 'applyview'), Line to tranlate url: translate_url('/nl/job/apply.html', "fr") Django internal function: def translate_url(url, lang_code): """ Given a URL (absolute or relative), try

Re: Django Redirect Not Working

2019-08-24 Thread Aldian Fazrihady
If that API is accessed via AJAX, then your JS code needs translate status 302 and Location header to JS code that sets "location.href" Regards, Aldian Fazrihady http://aldianfazrihady.com On Sat, 24 Aug 2019, 17:49 göktürk sığırtmaç, wrote: > Hello, my UserCreate class is create user via

Django Redirect Not Working

2019-08-24 Thread göktürk sığırtmaç
Hello, my UserCreate class is create user via CreateAPIView. I want to check. if user is auth, auth user directly to 'profile' URI. class UserCreate(generics.CreateAPIView): serializer_class = UserCreateSerializer permission_classes = (~IsAuthenticated,) queryset =

Re: Django is not working

2019-08-22 Thread Mike Dewhirst
Looking at the error below, I would recommend the following: 1. Upgrade pip 2. pip uninstall django 3. Reinstall the previous working version of Django and prove it is working 4. Restart the machine 5. Re-install Django 1.11.22 The traceback says it cannot find the contrib module which

Re: Django is not working

2019-08-22 Thread '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

Re: Django is not working

2019-08-22 Thread Gerardo Palazuelos Guerrero
hi Tom, Not sure what exactly configuration you have, but text you sent says you have python 2.7 and somehow a virtual environment (venv) is mentioned in the stacktrace. I don't use python 2.7, so my following suggestions considers a recent version. May i suggest you to check djangogirls for

Django is not working

2019-08-22 Thread Tom Gertin
Hello, I have successfully install Django 1.11.22. However, I believe something is wrong because I cannot get the command that lists its version to work, in addition the manage.py help command also produces the same error. Here is the error. $ pip install Django==1.11.22 DEPRECATION: Python

Re: django makemigrations not working

2018-05-06 Thread Bernard Letourmy
Hello, If you've got "No changes detected" on makemigrations, it means it did it job already (in previous run probably) can you list and post the content of you migrations folders ? then if you have errors on makemigrations it would help helping you if you would post the actual error logs.

Re: django makemigrations not working

2018-05-05 Thread Gerald Brown
I tried that too but it kept giving an error about Key constraints. That is why I dropped the whole database and then recreated it.  Will just have to look in to it more. Thanks for your reply. /Who knows what evil lurks in the heart and mind of the computer? *The Shadow knows...*/ On

Re: django makemigrations not working

2018-05-05 Thread Ruhia gr
hello everyone m new to django and am starting my ecommerce project in djnago .please anyone suggest which is best for ecommerce project(online shopping)django or django cms On Sat, May 5, 2018 at 6:19 PM, Zhenning Lang wrote: > Maybe the contents of table

Re: django makemigrations not working

2018-05-05 Thread Zhenning Lang
Maybe the contents of table “django_migrations" in you database should also be removed. I am not quite sure about it > 在 2018年5月5日,下午6:34,Gerald Brown 写道: > > I have dropped my database, deleted all migrations directories and when I run > ./manage.py makemigrations I get

Re: django makemigrations not working

2018-05-05 Thread Gerald Brown
Yes. I dropped it and then recreated it. Then ran "makemigrations" & "migrate". Migrate is now giving me a lot of errors. Funny that all of the errors that show up are in lines that contain "**/site-packages/django/**", NOT in any lines of MY code. On Saturday, 05 May, 2018 09:17 PM,

django makemigrations not working

2018-05-05 Thread Hervé Edorh
Do you create another database? -- 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 email to

django makemigrations not working

2018-05-05 Thread Gerald Brown
I have dropped my database, deleted all migrations directories and when I run ./manage.py makemigrations I get the message "No changes detected". I am using Django 2.04 with Python 3.5. Any ideas why this is happening? Thanks. -- You received this message because you are subscribed to the

Re: Django CORS not working.

2018-04-03 Thread Elorm Koku
Which browsers are you using.. it could probably be that cors is disabled in your browser. Try switching on cors in your browser ...if you don't have it as an extension just add it up On Tue, 3 Apr 2018, 11:08 , wrote: > Response in Console:- > > Cross-Origin Request

Django CORS not working.

2018-04-03 Thread contact
Response in Console:- Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://blissedmaths.sgp1.digitaloceanspaces.com/media/topics/4276769703/4276769703.svg. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). I have user

Re: New to Django, Tutiorial01 not working,

2018-03-29 Thread Marcin Bacławski
u probably run http://localhost:8000/ ,u should run http://localhost:8000/polls -- 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

Re: New to Django, Tutiorial01 not working,

2018-03-29 Thread prince gosavi
You need to use the following url *http://localhost:8000/polls/* as you have mentioned that you want to go under the "polls/" django parses through the urls to find "/polls/" and if it does not exists it will surely give an error as you are requesting things that it does not have. On Friday,

New to Django, Tutiorial01 not working,

2018-03-29 Thread Bryan Zimmer
Hello all, I managed to get Django and mod_wsgi installed OK. I then followed through with tutorial01, but even though I tried it twice, on two different machines, I have come up blank. This is the output I am getting for the first cut of Tutorial 01. I am using Django 2.0.3 with python3.6

Re: Django view not working for practice project

2018-01-16 Thread Matemática A3K
views.py > def index(request): > latest_comic = Comic.objects.order_by('-comic_pub_date')[:2] > > This has an implicit .all(), it's the same than doing Comic.objects.all().order_by('-comic_pub_date')[:2] Then you are slicing it for the first 2 records, that's why you see 2 records. Use

Re: Django view not working for practice project

2018-01-16 Thread Jani Tiainen
Hi. Could you show your template also? 17.1.2018 6.03 "NorDe" kirjoitti: > Context: > > I am creating a website to house some webcomics I made as a project to > practice Django. I am adapting Django's tutorial to create the site ( >

Django view not working for practice project

2018-01-16 Thread NorDe
Context: I am creating a website to house some webcomics I made as a project to practice Django. I am adapting Django's tutorial to create the site ( https://docs.djangoproject.com/en/2.0/intro/tutorial03/ About halfway down the page under "Write views that actually do something"). I am having

Re: figuring out bug with django cookies: not working on server

2017-10-02 Thread Samuel Muiruri
@login_required def edit_service(request, service_id, template_name="edit-service.html"): context = RequestContext(request) context['service_id'] = request.COOKIES.get('service_id', None) ... response = render_to_response(template_name, context) response.set_cookie('service_id', service_id)

Re: figuring out bug with django cookies: not working on server

2017-10-02 Thread ADEWALE ADISA
can you show the code where you set the cookie before retrieving it On Oct 2, 2017 6:35 PM, "Samuel Muiruri" wrote: > I have a site that relies on checking if a cookie exists for service_id and > if it does checks if you can upload files for service... this works nicely

figuring out bug with django cookies: not working on server

2017-10-02 Thread Samuel Muiruri
I have a site that relies on checking if a cookie exists for service_id and if it does checks if you can upload files for service... this works nicely offline but on pushing changes to server it created a bug where even though the cookie can be seen (on the dev console) [image: enter image

Re: Django runserver not working after installing redis for django channels

2017-09-12 Thread Robin Lery
Yes, i think just running `sudo apt-get install redis-server` installs the old version of redis, instead of the latest one. On Mon, Sep 11, 2017 at 6:40 PM, Artem Malyshev wrote: > Hi, > > Please check your redis installation. It should be at least minimum > required

Django runserver not working after installing redis for django channels

2017-09-11 Thread Artem Malyshev
Hi, Please check your redis installation. It should be at least minimum required version by redis-py. Regards, Artem. -- 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

Django runserver not working after installing redis for django channels

2017-09-11 Thread Robin Lery
I am learning the Django-channels concepts and I am stuck when after install the asgi_redis and the redis server . If I have the CHANNEL_LAYERS configured

Re: Drop Down Menu in Django Forms not working.

2017-08-07 Thread Arun S
class EvalState(models.Model,AtlasBaseHelper): """ Represents Eval State: ACTIVE INACTIVE DELETE NA """ name = models.CharField(max_length=32, unique=True) friendly_name = models.CharField(max_length=32, unique=True) description =

Re: Drop Down Menu in Django Forms not working.

2017-08-07 Thread lemme smash
you didn't show me a model structure, you just showed another model, so I can't give you example without picture of what's going on there On Monday, August 7, 2017 at 1:39:49 PM UTC+3, Arun S wrote: > > Can you just give an Example for this taking a Query. > > > > On Monday, August 7, 2017 at

Re: Drop Down Menu in Django Forms not working.

2017-08-07 Thread Arun S
Can you just give an Example for this taking a Query. On Monday, August 7, 2017 at 3:37:04 PM UTC+5:30, lemme smash wrote: > > i meant EvalState model > if name attribute on it is a ForeignKey you should get corresponding > queryset of model it links to > if it's charfield, you should use text

Re: Drop Down Menu in Django Forms not working.

2017-08-07 Thread lemme smash
i meant EvalState model if name attribute on it is a ForeignKey you should get corresponding queryset of model it links to if it's charfield, you should use text choices On Monday, August 7, 2017 at 6:22:50 AM UTC+3, Arun S wrote: > > The Models Look like this : > > stage_state =

Re: Drop Down Menu in Django Forms not working.

2017-08-06 Thread Arun S
The Models Look like this : stage_state = models.ForeignKey(EvalState, verbose_name="Eval State") class Bundle(AtlasAuditModel, AtlasBaseHelper):^M """^M Represents the bundle purchased by the customer. The bundle^M contains a reference identifier which remains the same if the^M

Re: Drop Down Menu in Django Forms not working.

2017-08-06 Thread lemme smash
so, you can maybe show you models structure here? also, if it is a ForeignKey, why you trying to filter qs by string values? I mean Q(name = 'ACTIVE') it's shouldn't work On Sunday, August 6, 2017 at 5:22:21 AM UTC+3, Arun S wrote: > > Yes, name is a foreign key here. -- You received this

Re: Drop Down Menu in Django Forms not working.

2017-08-05 Thread Arun S
Yes, name is a foreign key here. -- 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 email to

Re: Drop Down Menu in Django Forms not working.

2017-08-05 Thread lemme smash
name is a ForeignKey field? If not, you shouldn't use queryset attribute there. Use choices instead. If you want to render all available choices from db, you can get it like Model.objects.filter(...).values_list('name', flat=True) On Friday, August 4, 2017 at 8:07:24 PM UTC+3, Arun S wrote: > >

Drop Down Menu in Django Forms not working.

2017-08-04 Thread Arun S
Hi, I am trying to have a drop down menu for a field in my form but seems like its not working as required. This is my form: forms.py eval_states = [ ('ACTIVE',EvalState.objects.filter(name='ACTIVE')), ('INACTIVE',EvalState.objects.filter(name='INACTIVE')),

Re: Having problem with django runserver not working in windows 7

2017-04-29 Thread ludovic coues
Do you mind sharing the full error you got ? 2017-04-29 5:46 GMT+02:00 Andrew James : > Hi I'm new to django and I'm having a problem with getting django runserver > to work. I'm new to django framework and I'm using windows 7. This is what > I've tried so far that I've

Having problem with django runserver not working in windows 7

2017-04-29 Thread Andrew James
Hi I'm new to django and I'm having a problem with getting django runserver to work. I'm new to django framework and I'm using windows 7. This is what I've tried so far that I've installed django. I've installed that django in my p drive. and I've tried the path in cmd like

Re: Django-drip not working

2016-08-20 Thread M Hashmi
Yeah I know that but I thought it would be easy to get it ported manually but after reading code twice I guess I can wait till owner of repo do so. Thanks for help. Regards, Mudassar On Sat, Aug 20, 2016 at 9:15 AM, Simon Charette wrote: > It looks like django-drip has

Re: Django-drip not working

2016-08-20 Thread Simon Charette
It looks like django-drip has not been ported to Django 1.8 yet. Le samedi 20 août 2016 09:41:06 UTC-4, M Hashmi a écrit : > > Now I am getting another error: > > Traceback: > > File > "C:\Users\Mudassar\dressikarepo\lib\site-packages\django\core\handlers\base.py" > > in get_response > >

Re: Django-drip not working

2016-08-20 Thread M Hashmi
Now I am getting another error: Traceback: File "C:\Users\Mudassar\dressikarepo\lib\site-packages\django\core\handlers\base.py" in get_response 132. response = wrapped_callback(request, *callback_args, **callback_kwargs) File

Re: Django-drip not working

2016-08-20 Thread Tim Graham
Looks like it could be a bug in django-drip because: Model._meta.fields + Model._meta.many_to_many + Model._meta.get_all_related_objects() (tuple) + (tuple) + (list) A possible fix could be: ... + tuple(Model._meta.get_all_related_objects()) On Saturday, August 20, 2016 at 7:56:46 AM UTC-4, M

Django-drip not working

2016-08-20 Thread M Hashmi
Hi Guys, I am having trouble with Django-drip and couldn't search a solution and hard to figure out. The error pops up when I try to add a Drip. My settings.py has "DRIP_FROM_MAIL" field and EMAIL_HOST field both. I've added django-drip and migrated for django==1.8.13 it worked fine but now stuck

Re: Django Suit admin panel - Static files configuration Django 1.6 not working

2016-06-02 Thread Roger Lanoue jr
roject/static; > > } > > # Proxy the static assests for the Django Admin panel > > location /static/admin { > >alias > /usr/lib/python2.7/dist-packages/django/contrib/admin/static/admin/; > > } > > location / { > >

Re: Django Suit admin panel - Static files configuration Django 1.6 not working

2016-06-02 Thread Luis Zárate
e Django Admin panel > location /static/admin { >alias /usr/lib/python2.7/dist-packages/django/contrib/admin/static/admin/; > } > location / { > proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; > proxy_set_header Host $http_host; >

Django Suit admin panel - Static files configuration Django 1.6 not working

2016-06-02 Thread Roger Lanoue jr
My goal is to get the Django suit working. I do not see anything in my static files directory for the admin suit so the css can be applied. I am missing something very simple to get this working. Thank you for taking time to look at this and wish to get some clues. Roger -- You received this messa

Re: Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-12-19 Thread Felipe Serrano
Same problem, your Fix works great!... Thanks, using MacOS 10.7, Django 1.7, DjanogCMS3, Python 3.4.2 -- 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

Re: Decrypting Encrypted Customer Data from Django Queries Not Working, But Working with Regular DB Queries

2014-10-08 Thread Collin Anderson
Do you need to re-initialize your decryptor each time in your django for loop, like you do in pure python? Are you sure you're using the same database and key? Is the base64 decoded, encrypted data the same between pure python and django before you decrypt it? Same python version? Do you have

Re: Decrypting Encrypted Customer Data from Django Queries Not Working, But Working with Regular DB Queries

2014-10-08 Thread G Z
I'll post some more on this later, I'll post comments and be more descriptive. On Wednesday, October 8, 2014 4:56:27 PM UTC-6, G Z wrote: > > I know exactly what my code is doing, and it works in just python > something django is doing is screwing it up. > > On Wednesday, October 8, 2014

Re: Decrypting Encrypted Customer Data from Django Queries Not Working, But Working with Regular DB Queries

2014-10-08 Thread G Z
I know exactly what my code is doing, and it works in just python something django is doing is screwing it up. On Wednesday, October 8, 2014 4:41:43 PM UTC-6, Cal Leeming [iops.io] wrote: > > Encrypting data such as passwords is one acceptable use case. However > encrypting other types of data,

Re: Decrypting Encrypted Customer Data from Django Queries Not Working, But Working with Regular DB Queries

2014-10-08 Thread Cal Leeming [iops.io]
Encrypting data such as passwords is one acceptable use case. However encrypting other types of data, such as name/phone numbers etc, is poor because you lose many search/indexing capabilities. For example, you wouldn't be able to perform wildcard searches, you could only do "case sensitive +

Re: Decrypting Encrypted Customer Data from Django Queries Not Working, But Working with Regular DB Queries

2014-10-08 Thread G Z
How is encrypting at the application level wrong? The research I have done, says that application level encrypting is better because its encrypted over a link, and this is why most web apps use the salt method. I would love to hear more about what your talking about I'm still learning. Also

Re: Decrypting Encrypted Customer Data from Django Queries Not Working, But Working with Regular DB Queries

2014-10-08 Thread Cal Leeming [iops.io]
For the record, this approach towards data security is completely wrong. Consider using FDE on your databases, rather than encrypting individual fields. Cal On Wed, Oct 8, 2014 at 11:11 PM, G Z wrote: > so I have a database of information with encrypted customer names. When

Decrypting Encrypted Customer Data from Django Queries Not Working, But Working with Regular DB Queries

2014-10-08 Thread G Z
so I have a database of information with encrypted customer names. When I use a plain python script to decrypt the names it works correctly and decrypts all of the customer names. However, when I used Django it will decrypt only one name and the remaining names will still be encrypted. I

Re: Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-09-26 Thread yamil moreno
No hablo inglés. Tenía el mismo problema. 1 - Lo que hice fue actualizar mi versión de Python (Python 2.7.* a Python 3.3.5). 2 - Descargue el driver de MySQL para Python 3.3.* ( mysql-connector-python-2.0.1-py3.3.msi ) desde http://dev.mysql.com/downloads/file.php?id=453803. 3 - Deje los

Re: Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-09-26 Thread yamil moreno
No hablo inglés. Tenía el mismo problema. 1 - Lo que hice fue actualizar mi versión de Python (Python 2.7.* a Python 3.3.5). 2 - Descargue el driver de MySQL para Python 3.3.* ( mysql-connector-python-2.0.1-py3.3.msi ) desde http://dev.mysql.com/downloads/file.php?id=453803. 3 - Deje

Re: Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-08-28 Thread cico
And I wish I could upvote your solution to heaven! Thanks for sharing that, why is it not documented anywhere? Sounds like a killing feature.. Cheers! mccc On Saturday, May 10, 2014 1:00:12 AM UTC+2, Richard Esplin wrote: > > Thanks for sharing what you did. I wish PostgreSQL was an option for

Re: Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-05-09 Thread Richard Esplin
Thanks for sharing what you did. I wish PostgreSQL was an option for me on this project. Oracle's answer was pretty generic, but they are right that Django 1.7 is still in development. It is good to know that they are planning to support it when it is released. I am glad I don't have to

Re: Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-05-09 Thread Giovanni
I switched to PostgreSQL when MySQL wasn't working. PostgreSQL worked without a hitch and the migrations work wonderfully. But since my target production environment only runs MySQL I will have to make the switch back at some point. Thanks for submitting the bug to MySQL. I see they posted a

Re: Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-05-06 Thread Richard Esplin
In order to move forward with this project, I switched to PyMySQL: https://github.com/PyMySQL It appears to work great. In order to use the default Django backend for MySQL, I put this in my settings.py: import pymysql pymysql.install_as_MySQLdb() DATABASES = { 'default': {

Re: Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-05-05 Thread Richard Esplin
This is actually a warning, and only halts execution when settings.py has DEBUG enabled. See mysql/connector/django/base.py line 59. However when syncdb proceeds past the deprecation warning, it halts on the error about needing schema_editor implemented. On Thursday, April 3, 2014 9:09:31 AM

Re: Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-05-05 Thread Richard Esplin
I can't find any evidence on the interwebs of someone successfully using the Mysql-Connector-Python with Django 1.7. So I reported it as an issue in the MySQL bug database: http://bugs.mysql.com/bug.php?id=72542 If anyone has a suggestion for using MySQL with Python 3 and Django 1.7, I would

Re: Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-05-05 Thread Richard Esplin
I am also trying to use Django 1.7 with the Mysql-Python-Connector 1.1.6. I am seeing the same behavior for both the migrate NotImplementedError and the syncdb RemovedInDjango19Warrning. Were you able to solve these problems? Richard On Thursday, April 3, 2014 9:09:31 AM UTC-6, Giovanni

Re: Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-04-03 Thread Giovanni
Documentation states: - syncdb has been deprecated and replaced by migrate. Don’t worry - calls to syncdb will still work as before. But when I run $ python manage.py syncdb, it stops with a django.utils.deprecation.RemovedInDjango19Warning. So I can't seem to use syncdb

Django 1.7 not working with mysql-connector-python 1.1.6 & Python 3.3 ?

2014-04-02 Thread Giovanni
I upgraded from django 1.6 to 1.7b1 and now it seems like as soon as I want to do anything that interacts with mysql, I keep getting this error: NotImplementedError: subclasses of BaseDatabaseWrapper may require a schema_editor() method In Python I can import mysql.connector just fine. I've

Re: Django GenericRelation not working

2014-01-03 Thread arthur . muchir
Thanks Daniel for your answer. I didn't know I could use a simple FK in this case. I will try using it. I didn't want to directly inherit from GenericMedia because I don't want to merge ContentType datas (content_type, content_object, etc.) with my own Media datas (description, link, ...) So

Re: Django GenericRelation not working

2014-01-03 Thread Daniel Roseman
On Thursday, 2 January 2014 21:09:22 UTC, arthur...@gmail.com wrote: > > I have the following model in my app, using the content-type django > framework in version 1.6.1 : > > class GenericMedia(models.Model): > limit = models.Q(model = 'Image') | models.Q(model = 'Video') | >

Django GenericRelation not working

2014-01-02 Thread arthur . muchir
I have the following model in my app, using the content-type django framework in version 1.6.1 : class GenericMedia(models.Model): limit = models.Q(model = 'Image') | models.Q(model = 'Video') | models.Q(model = 'Other') content_type= models.ForeignKey(ContentType,

Re: django summernote not working properly

2013-10-16 Thread Hyun-woo Park
Thank you for reporting. See http://stackoverflow.com/questions/19347067/django-summernote-not-working-properly/19406459#19406459 2013년 10월 14일 월요일 오전 1시 8분 28초 UTC+9, Kakar 님의 말: > > I am using django-summernote <https://github.com/lqez/django-summernote>as a > wysiwyg editor.

django summernote not working properly

2013-10-13 Thread Karl Arunachal
I am using django-summernote as a wysiwyg editor. And till now, I can save the post from the summernote editor and can display it too using the safe filter. But some of its functionalities are not there in my template. 1. There is no image upload

Re: django-admin.py not working on OS X 10.5

2012-08-04 Thread James Walton
Brandon, I had the same issue and this is how I resolved it. 1. Delete the reference django-admin.py in /usr/local/bin that was generated by the installer. 2. Then, manually recreate the symlink by doing: 3. ln -s YOUR_ABSOLUTE_PATH/build/scripts-2.7/django-admin.py /usr/local/bin 4. Close

Re: Django Pagination Not Working!

2012-05-08 Thread Tom Evans
On Sun, May 6, 2012 at 10:56 PM, coded kid wrote: > I'm trying to paginate a page in order to display five statuses per > page. After inputting these codes, it fails to paginate. Below are the > codes for pagination and updating of status in my django app. > > > Views: > >

Django Pagination Not Working!

2012-05-06 Thread coded kid
I'm trying to paginate a page in order to display five statuses per page. After inputting these codes, it fails to paginate. Below are the codes for pagination and updating of status in my django app. Views: def qask(request): extra_data_context={} #if there's nothing in

Re: Django caching not working with SSL(https)

2011-06-22 Thread Anoop Thomas Mathew
Hi all, I figured it out. The problem was with the google analytics cookies which made each cookie different and vary on cookie reloaded cache each time. This snippet helped. http://djangosnippets.org/snippets/1772/ regards, Anoop atm ___ Life is short,

  1   2   >