solved

2022-10-29 Thread Robert Leach
I don't know how to find the conversation I just started, but I wanted to add a note that I figured out my problem. There were calls to `full_clean` another developer had introduced that was changing the database and causing the cross-database relations. -- You received this message because

How to override Model.__init__ without breaking `using(db)`?

2022-10-29 Thread Robert Leach
Hi, I have a Model superclass called `MaintainedModel` that other models inherit from. It itself inherits from django.db.models.Model and overrides its __init__ method in order to implement some controls on fields using decorators in the derived models. It all works very well in the realm of

Hashing user emails

2022-09-14 Thread Robert Bender
I am trying to find the best way to secure email address for user to user emails. Thanks for your help. -Robert -- 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

migrate exception if multiple databases migrated in a specific order

2022-02-02 Thread Robert Leach
I just added a second database to our project and was questioning my sanity when I kept getting the exception below in the remote github action tests only (not locally). I eventually noticed that I was doing the migrations in the reverse order locally. Once I noticed that, I was able to both

PIL obj to ImageField

2022-01-22 Thread Robert Englund
Hello I have big problems with saving PIL objects to imagefield. see my code below. There are many solutions when searching on Google but none work for me. What is the easiest way to save an image from url to ImageField? # return Pil image def get_img_from_url(url):

Re: Basic questions about scaling a Django web app. (e.g. AppEngine solves all problems?)

2021-08-24 Thread Robert Seghedi
Just go for Cloudflare Pages. It s much more easier În mar., 24 aug. 2021 la 04:30 cseb...@gmail.com a scris: > I have a simple web app (bighelp.business). I anticipate > the number of users to steadily increase. > > I'm having nightmares of having to guesstimate how much > extra RAM and cores

Re: CSS not linking with HTML

2021-06-02 Thread Robert Edward
Plus is it 'syle' or 'style' On Wed, Jun 2, 2021, 20:26 Robert Edward wrote: > You are missing a closing (') when loading style.css > > On Fri, May 28, 2021, 21:39 sukhy gill wrote: > >> Dear Frnds >> I am unable to link CSS with HTML >> HTML work

Re: CSS not linking with HTML

2021-06-02 Thread Robert Edward
You are missing a closing (') when loading style.css On Fri, May 28, 2021, 21:39 sukhy gill wrote: > Dear Frnds > I am unable to link CSS with HTML > HTML working but CSS not working inside the .html file with the help of > LINK in tag > > I am using thefollowings:- >

Re: Why is this acting like a permanent redirect?

2021-02-23 Thread Robert F
Thanks David. I'll give this a try. On Monday, February 22, 2021 at 4:56:11 PM UTC-8 David Nugent wrote: > Hi Robert, > > To point out the most likely cause of the issue: LOGIN_REDIRECT_URL is a > url, not a route name. > > Possibly could use a reverse_lazy('login-redirect')

Why is this acting like a permanent redirect?

2021-02-22 Thread Robert F
I have a Django view that I redirect a user to after they login: # settings.py LOGIN_REDIRECT_URL = 'login-redirect' # account/urls.py urlpatterns = [ path('', include('django.contrib.auth.urls')), ... ] # home/views.py from account.models import Member

How to programmatically set the model when using Django CreateView?

2021-01-29 Thread Robert F.
I am trying to programmatically set the model for a Django class-based view that inherits from CreateView and displays a form for creating a 'member' object. My problem is that my template is not displaying the form itself. Note that I override the 'get' method to determine what model the view

Re: Good Django libraries to read to really understand class-based views?

2021-01-12 Thread Robert F.
Thank you to everyone who took time to answer my question! I will check out the resources you mentioned. On Tuesday, January 12, 2021 at 7:21:33 AM UTC-8 David Nugent wrote: > Robert, > > I think the ultimate resource you can use on this beyond the documentation > is the django

Good Django libraries to read to really understand class-based views?

2021-01-11 Thread Robert F.
Are there any Django libraries that make extensive use of class-based views that I might study if I want to gain an in-depth understanding of how to use them? The Django documentation is OK at explaining what they are and how they work but most of the examples are very trivial in nature. I'd

Re: help

2020-06-23 Thread Robert Rajendra
> https://groups.google.com/d/msgid/django-users/e2af77bb-275e-e52b-6730-c72526825ebe%40stacktrace.dk > . > -- *Robert Rajendra* Associate Network/Server Support Engineer ITH P: +91 863.087.3094 <+91%2086308%2073094> W: www.ITHands.com <http://www.ithands.com/> -- You receiv

Re: python manage.py runserver error

2020-06-19 Thread Robert Rajendra
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 visit >>&g

using mod_python and django3.02??

2020-05-19 Thread Robert O.
I wrote a django site (django3.02) and want to deploy it using mod_python. Is that even doable/ reasonable?. Do I need to use django version <1.5? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Need to work with csv file

2020-05-06 Thread Robert Rajendra
3b4b013d-05c0-4bb2-8251-8e57441b47fd%40googlegroups.com > . > -- *Robert Rajendra* Associate Network/Server Support Engineer ITH P: +91 863.087.3094 <+91%2086308%2073094> W: www.ITHands.com <http://www.ithands.com/> -- You received this message because you are subscribed t

Re: I'm new to this django help me out

2020-05-06 Thread Robert Rajendra
s.com > <https://groups.google.com/d/msgid/django-users/f432b7cc-a4f1-4f2a-a0af-39d918696c18%40googlegroups.com?utm_medium=email_source=footer> > . > -- *Robert Rajendra* Associate Network/Server Support Engineer ITH P: +91 863.087.3094 <+91%2086308%2073094> W: www.ITHand

Re: Django Image and File

2020-02-27 Thread Robert Rajendra
-3DCckud%3D871RtOSxqRiRMLo6zbQuQ%40mail.gmail.com?utm_medium=email_source=footer> > . > -- *Robert Rajendra* Associate Network/Server Support Engineer IT Hands P: +91 863.087.3094 <+91%2086308%2073094> W: www.ITHands.com <http://www.ithands.com/> -- You received this message

Re: Why can't Nginx find Django's static files?

2020-02-21 Thread Robert F.
On Thursday, February 20, 2020 at 8:52:31 AM UTC-8, Stephen J. Butler wrote: > > Django only serves up static files itself when run using runserver. This > is meant for development and not production use. When you run it through > gunicorn the Django framework won't serve up static files.

Re: Why can't Nginx find Django's static files?

2020-02-21 Thread Robert F.
Thanks but I'm not interested in using Whitenoise. On Friday, February 21, 2020 at 6:22:40 AM UTC-8, Jody Fitzpatrick wrote: > > Take a look at whitenoise for django, this should help you. > > On Thursday, February 20, 2020 at 11:35:51 AM UTC-5, Robert F. wrote: >> >>

Why can't Nginx find Django's static files?

2020-02-20 Thread Robert F.
I'm trying to understand how static files are served up by Django using a project I've created on my Mac using Django 3, Gunicorn, and Nginx. The website serves up templates correctly except that the templates can't see my CSS stylesheet. When I go to a page, for example

Re: Save partial state of a page when reloading

2019-10-13 Thread Robert Levasseur
in the > response html. > 3. Use javascript to remember what category the user selected, and render > the selection when the page reloaded. > > On Sat, Oct 12, 2019 at 5:07 AM Robert Levasseur > wrote: > >> Hi, >> >> I'm very new to Django so this might

Save partial state of a page when reloading

2019-10-11 Thread Robert Levasseur
Hi, I'm very new to Django so this might be a silly question, but I'm having an issue with the filter functionality on my site's search page. I am using the django-haystack module to interface with the Whoosh search engine, and it functions by reloading the page while sending the query as a

Re: CSRF verification failed when I use smart phone

2019-06-25 Thread Robert F.
Make sure you aren't blocking cookies on whatever device is giving you problems. You'll get this error if you are blocking them. On Tuesday, January 6, 2015 at 1:09:46 AM UTC-8, Sugita Shinsuke wrote: > > Hello. > > When I use Django via my smart phone Android and iOS. > The error sometimes

Re: Where did admin CSS file "ie.css" go after Django 1.8?

2019-06-17 Thread Robert F.
I've discovered the problem. The release notes for Django 1.9 say, "The admin no longer supports Internet Explorer 8 and below, as these browsers have reached end-of-life." Thus, this file is no longer included in Django. On Monday, June 17, 2019 at 12:00:08 PM UTC-7, Robert F. wrot

Where did admin CSS file "ie.css" go after Django 1.8?

2019-06-17 Thread Robert F.
I'm in the process of upgrading a large Django project from 1.8 to 2.2. Currently, I'm at 1.9.13. My project has a couple of admin forms that utilize a Django CSS file admin/css/ie.css. In Django 1.8, that file was located here: django/contrib/admin/static/admin/css/ie.css But in Django

Re: python manage.py makemirations

2019-05-29 Thread Robert Wahoo
Regardless, it’s not an issue. Just migrate From: "django-users@googlegroups.com" on behalf of sagar ninave Reply-To: "django-users@googlegroups.com" Date: Wednesday, May 29, 2019 at 2:17 PM To: Django users Subject: python manage.py makemirations i have created new project and i am

Re: python manage.py makemirations

2019-05-29 Thread Robert Wahoo
Did you make model changes? From: "django-users@googlegroups.com" on behalf of sagar ninave Reply-To: "django-users@googlegroups.com" Date: Wednesday, May 29, 2019 at 2:17 PM To: Django users Subject: python manage.py makemirations i have created new project and i am defining model and

Re: form submission

2019-05-09 Thread Robert Wahoo
That’s for 1.8, does he have an updated set of videos for 2.x? From: "django-users@googlegroups.com" on behalf of Chetan Ganji Reply-To: "django-users@googlegroups.com" Date: Thursday, May 9, 2019 at 12:05 PM To: "django-users@googlegroups.com" Subject: Re: form submission Hi Ganesh, This

Re: My developers have run amok

2019-05-02 Thread Robert Wahoo
Currently in the process of evaluating Azure pipeline for CI/CD. So far, it’s been fairly simple to setup. Setup an Azure app this morning for a python/Django project, took 5 mins. From: "django-users@googlegroups.com" on behalf of "dansm...@gmail.com" Reply-To:

Re: problems with url and views - new to django

2019-04-22 Thread Robert Wahoo
Actually, I found why I got that last message, was a typo on my part. On to the next problem…Thank you. From: "django-users@googlegroups.com" on behalf of "Victor H. Velasquez Rizo" Reply-To: "django-users@googlegroups.com" Date: Sunday, April 21, 2019 at 9:02 PM To:

Re: problems with url and views - new to django

2019-04-22 Thread Robert Wahoo
Awesome,Thanks Victor, I’ll give this a shot. Thanks. From: "django-users@googlegroups.com" on behalf of "Victor H. Velasquez Rizo" Reply-To: "django-users@googlegroups.com" Date: Sunday, April 21, 2019 at 9:02 PM To: "django-users@googlegroups.com" Subject: Re: problems with url and views

RE: Easiest front end JavaScript framework to integrate with a Djangobackend?

2018-11-27 Thread Sir Robert James Patterson
What Alfred said . . . . .and than some  https://django-angular.readthedocs.io/en/latest/ Sent from Mail for Windows 10 From: Alfredo Sumague Sent: Tuesday, November 27, 2018 8:13 PM To: django-users@googlegroups.com Subject: Re: Easiest front end JavaScript framework to integrate with a

Re: Django with Channels 2.1.1 Error During WebSocket handshake 404

2018-11-17 Thread Robert Fox
I managed to get it working, turns out I forgot to install and configure Redis. I now have a working web app with channels. On Saturday, November 17, 2018 at 5:29:30 PM UTC-8, Robert Fox wrote: > > Thank you Andrew, I have now configured Nginx to route /ws/ to port 9000 > whe

Re: Django with Channels 2.1.1 Error During WebSocket handshake 404

2018-11-17 Thread Robert Fox
Thank you Andrew, I have now configured Nginx to route /ws/ to port 9000 where Daphne is configured. This has fixed my 404 handshake error and now I have a handshake error 500. Any thoughts? On Friday, November 16, 2018 at 10:35:07 PM UTC-8, Andrew Godwin wrote: > > You cannot use gunicorn to

Django with Channels 2.1.1 Error During WebSocket handshake 404

2018-11-16 Thread Robert Fox
I am working on a project using Django and Channels 2.1.1. Everything is working splendidly on my home PC but when I deploy to AWS I get the error: 'WebSocket connection to 'ws://IP/ws/lobby/' failed: Error during WebSocket handshake: Unexpected response code: 404 ' which originates from the

Re: Blog app Error: NoReverseMatch at /post/14/

2018-10-12 Thread Robert CR
is it because i have forgotten to import CommentForm? -- 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

Re: Blog app Error: NoReverseMatch at /post/14/

2018-10-12 Thread Robert CR
then a new error pops up: [image: Udklip3.PNG] -- 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

Re: Blog app Error: NoReverseMatch at /post/14/

2018-10-12 Thread Robert CR
If i do that i get another error: [image: Udklip2.PNG] -- 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: Blog app Error: NoReverseMatch at /post/14/

2018-10-12 Thread Robert CR
i fixed the error, thanks. But there is already a new one when i try to add a comment. D: [image: Udklip.PNG] -- 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: Blog app Error: NoReverseMatch at /post/14/

2018-10-12 Thread Robert CR
here is the template file. *add_comment.html* *{% extends "blog/base.html" %}{% load crispy_forms_tags %}{% block content %}{% csrf_token %} Comment {{ form|crispy }} Post Comment! {% endblock content %}* -- You

Re: Blog app Error: NoReverseMatch at /post/14/

2018-10-11 Thread Robert CR
I think it has something to do with my urls.py and views.py *urls.py* from django.urls import path from .views import ( PostListView, PostDetailView, PostCreateView, PostUpdateView, PostDeleteView, UserPostListView, UserProfileListView, UserProfilePostListView )

Blog app Error: NoReverseMatch at /post/14/

2018-10-11 Thread Robert CR
I am making a blog app for my django website. Right now i'm making a comment feature, but when i try to view a post and the posts comments i get an error. *The Error* [image: Udklip.PNG] -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: favicon.ico

2018-09-30 Thread Robert Edward
Yes and confirm if you linked your favicon directory correctly on your page On Sun, Sep 30, 2018, 9:06 PM Vishvajit Pathak wrote: > Prajesh, > > Please provide complete context of the issue you are facing. > > Assuming you are getting 404 HTTP ( "GET /favicon.ico HTTP/1.1" 404 - ) > error code

Beginner problem with sqlite3 db

2018-09-17 Thread Robert Latoszewski
Hi, I'm going through "Writing your first Django app, part 2" link and I have problem with sqlite3 db - I have created database tables with migrate command (got db.sqlite3 file in my project folder) and I would like to

Re: DEBUG_TOOLBAR

2018-07-16 Thread robert anthony perez araujo
listo solo coloque en el settings de mi proyecto la siguiente configuración. DEBUG_TOOLBAR_CONFIG = { 'JQUERY_URL': '', } El 16 de julio de 2018, 9:36, robert anthony perez araujo < io.perez.rob...@gmail.com> escribió: > Buenas amigos, alguien me puede ayudar con algo de DEBUG_TOOLBAR

DEBUG_TOOLBAR

2018-07-16 Thread robert anthony perez araujo
Buenas amigos, alguien me puede ayudar con algo de DEBUG_TOOLBAR necesito que no utilice el Jquery que trae por defecto... Espero me puedan ayudar con eso, he leido sobre una configuracion pero donde debo hacerla? -- You received this message because you are subscribed to the Google Groups

Re: Accessing Django through ssh tunneling and error to get status

2018-07-13 Thread Robert Edward
Hey, uhm I faced a similar problem lately. Try this in the Settings.py file, Inside the brackets insert an asterisk ✳ It should look something like this Allowed host = [ *]; Then try again. On Thu, Jul 12, 2018, 7:34 PM Dikus Extrange wrote: > Hi Jason. Thank you for your reply. I tried with

Re: New Add-On: Django Model Lifecycle Hooks

2018-04-03 Thread Robert Singer
ferent versions of Django/Python to make it easier to make it > compatible easier. > > I would like to see compatibilities with 1.11 and 2.0 since 1.11 is LTS > and 2.0 is latest supported. > > But it's a great start. > > > On Sun, Apr 1, 2018 at 12:54 AM, Rob

Re: New Add-On: Django Model Lifecycle Hooks

2018-03-31 Thread Robert Singer
rote: > > From Reading the readme this looks promising. > > Congrats! > > I might use this soon. > > Em sáb, 31 de mar de 2018 15:50, Robert Singer <robert...@gmail.com > > escreveu: > >> Hey there - >> >> I just wanted to let community know about

New Add-On: Django Model Lifecycle Hooks

2018-03-31 Thread Robert Singer
Hey there - I just wanted to let community know about a small add-on I wrote in order to add Rails-style hooks/callbacks to Django models. https://github.com/rsinger86/django-lifecycle Feedback welcome and appreciated :) Cheers. -- You received this message because you are subscribed to

Re: Define middleware per app?

2017-08-03 Thread Robert Stepanek
ects. If you don't want to. > > 3.8.2017 11.27 "Robert Stepanek" <robert@gmail.com > > kirjoitti: > >> Hi, >> >> On Wednesday, August 2, 2017 at 8:31:14 PM UTC+2, Jani Tiainen wrote: >>> >>> Hi, >>> >>> What is the pr

Re: Define middleware per app?

2017-08-03 Thread Robert Stepanek
my requirements best. There are other reasons for this, but it has the side benefit that I don't have to figure out how separate the middleware layer. Cheers, Robert -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fro

Define middleware per app?

2017-08-02 Thread Robert Stepanek
to take care of two deployments (probably even a good thing). Most probably there is a simple solution, but being a Django noob I must just not be able to see it? Thanks! Robert -- You received this message because you are subscribed to the Google Groups "Django users" group. To u

Re: Turn off migrations completely in Django 1.7

2017-08-01 Thread Robert F.
I know this is an old topic but I completely agree with Frank. Nothing gives me more headaches and makes me want to move off Django more than migrations. They seldom run smoothly and cause me no end of headaches. I hate them! On Friday, November 20, 2015 at 2:26:59 PM UTC-8, Frank Malina

Re: Vim plugin that does Django code completion?

2017-07-07 Thread Robert F.
complicated and confusing to a Django noob like me. I'm not really sure what the optimal development environment setup should be. On Friday, July 7, 2017 at 10:46:58 AM UTC-7, James Schneider wrote: > > > > On Jul 7, 2017 8:27 AM, "Robert F." <robert@gmail.com > > w

Vim plugin that does Django code completion?

2017-07-07 Thread Robert F.
Is there a Vim plugin that does code completion for Django? I'd like to be able to type something like "foobar = models." and hit Tab and see a list of classes like CharField or Foreign key. Alternately, I'd be OK with entering an abbreviation that would bring up the proper code snippet. The

Is it possible to cleanly override another app's URL namespace in Django 1.11?

2017-05-17 Thread Robert Rollins
I have a project where I want to override a subset of the URLs provided by one of the third-party apps I have installed. I did so months ago, and it works just fine. However, once I upgraded to Django 1.11, I started seeing this warning appear every time I do anything with manage.py: ?:

Form.changed_data no longer includes changes to related fields as of Django 1.10?

2017-04-11 Thread Robert Rollins
I've got code that expects Form.changed_data to include the Groups to which a User belongs when the User edit form I wrote changes them. It works in Django 1.9.13, but tests fails in Django 1.10. Is there a known change to Django that would cause this? I don't see any mention of

Re: Question Is Django Rest Framework only for APIs or can i Use it to create Users for a website?

2017-01-06 Thread Robert librado
Thanks i guess i will go with djangi all auth instead kind of leaning towards a social network On Jan 6, 2017 10:39 PM, "M Hashmi" wrote: > Django RestAPI is a layer that exposes part of your application or your > whole website to other platforms for connectivity. Once it

New django user

2016-12-06 Thread Robert Scronic
I received the attached error when trying to verify tutorial part 1 django error what should I do next? my django version is 1.10.4 my python version is 3.5.2 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Survey About Package Requirements Management

2016-10-18 Thread Robert Roskam
Hey all, To clarify my title quickly, this survey is not about replacing pip, as yarn (https://github.com/yarnpkg/yarn) did recently with npm. This is about helping you throughout the lifespan of projects you maintain keep a handle on the dependencies it has. Where I work, we've already made

Re: How do templates automatically convert dates to local timezone?

2016-08-03 Thread Robert Rollins
? On Wednesday, August 3, 2016 at 1:49:45 PM UTC-7, Constantine Covtushenko wrote: > > Hi Robert, > > You have touched a very simple but always confusing questions - storing > dates and showing them to users in different places. > > As I know Django uses that in very straightfor

How do templates automatically convert dates to local timezone?

2016-08-03 Thread Robert Rollins
I'm writing tests that assert dates are being properly rendered on a certain page, but the tests are failing because the date value on the model object is in UTC, and the date is rendered in local time on the template. I'd like to run that date value through the same mechanism by which the

Django model form pre-populating fields with my NT Login value

2016-05-11 Thread Robert Prince
My first experience using django, python and bootstrap to build an application - I am struggling a bit. The application is in development and does not have a login screen yet. My issue in this instance, I have a model form which creates and updates eight field values to define and store

Odd behaviour of DjangoJSONSerializer when serializing datetimes with/without microseconds

2016-03-10 Thread 'Robert Kirberich' via Django users
Hi, I stumbled across this yesterday while trying to figure out why some of my tests would sometimes fail when serializing and deserializing datetimes to JSON. DjangoJSONSerializer only includes the milliseconds in the encoded string if the original datetime has a non-zero microsecond value -

Re: Learning Django resources

2016-02-17 Thread Robert Dumitru
Thank you so much! I think I'll go with the official tutorial miercuri, 17 februarie 2016, 18:54:17 UTC+2, Robert Dumitru a scris: > > Hi! Is there any "complete" resource I could use for learning Django, > other than "The Django Book"? *I do not like video t

Learning Django resources

2016-02-17 Thread Robert Dumitru
Hi! Is there any "complete" resource I could use for learning Django, other than "The Django Book"? *I do not like video tutorials* -- 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

Re: Sending mail using smtp server

2015-10-02 Thread Robert librado
when ive used this method ive experience errors the port 587 seems to have issues. could you post some basic code. that would work for anybody please thanks email me back djangocharm2...@gmail.com thanks On Monday, September 28, 2015 at 5:56:42 PM UTC-5, Rajat Singh wrote: > > I want to

Why should we use Django Rest Framework?

2015-10-02 Thread Robert librado
>From what ive seen when i use it its like django admin but with more features. I also noticed that it has the serializers are those for like using it with a machine ot translatign code? I also have question on why its needed i understand that the api is for client and users to collect data is

Strategies for Speeding Up Django 1.8 Tests?

2015-09-22 Thread Robert F.
Does anyone have any strategies or techniques for running their unit tests faster in Django 1.8? My project has seven model modules containing twenty-one models (none of which are very complex). I run my tests using the default Django test runner on a 1.86 GHz Mac laptop with 4 GB of RAM

Feature Suggestion: New Setting called LOGOUT_REDIRECT_URL

2015-08-20 Thread Robert Roskam
Basically, the same feature set as here: https://docs.djangoproject.com/en/1.8/ref/settings/#login-redirect-url Modified it below: Default: '/accounts/logout' The URL where requests are redirected after login when the contrib.auth.logout view gets no next parameter. This setting also accepts

Re: pyjs - a compiler from Python to JavaScript

2015-08-08 Thread Robert
as far as I got, which is too bad, cause I really don't like Javascript. Robert -- 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...@

TextField in Oracle: any alternatives?

2015-07-10 Thread Robert Martin
Hi all, I have a question about best practices with storing strings in an Oracle DB. I've grown accustomed to using TextFields wherever possible, as I mainly work in Postgres and this seems to be recommended: http://stackoverflow.com/questions/7354588/django-charfield-vs-textfield However,

Oracle GIS backend - no bulk_create?

2015-07-02 Thread Robert Martin
Hi all, I've been trying to do a bulk_create using the Oracle GIS backend (Django 1.8.2) and getting an AssertionError: File "C:\Users\robert.martin\Envs\ais\lib\site-packages\django\contrib\gis\db\backends\oracle\operations.py" , line 248, in modify_insert_params assert

Re: best way to use django

2015-06-29 Thread Robert librado
try coding for entrepreneurs they have one of the best vido series to get you motivated . On 6/29/15, aRkadeFR wrote: > Just read the djangoproject tutorial and then start your project: > https://docs.djangoproject.com/en/1.8/ > > On 06/29/2015 01:20 PM, Jason Thomas wrote:

Re: django unique email id model

2015-06-29 Thread Robert librado
You can use Django All Auth go to read the docs it was great for getting the sign up and sign out and login page you will just need to follow the directions and then add it to your menu . On 6/28/15, Arindam sarkar wrote: > django 1.8 . which user model should i use ?

Re: Get the first image src from a post

2015-06-15 Thread Robert librado
very nice work On 6/15/15, Vijay Khemlani wrote: > If the description is stored as HTML I guess you could use something like > BeautifulSoup or pyquery to parse it and find the tag > > from bs4 import BeautifulSoup > > soup = BeautifulSoup(blog.description) > image_src =

Re: Software Version for MySql that works with django 1.8

2015-05-25 Thread Robert librado
are either of you using pythonanywhere.com for django I am having an issue with the wsgi file for my virtualenv I keep getting this error: for this code: import os import sys # assuming your django settings file is at '/home/MYUSERNAME/MYSITE/settings.py' path = '/home/pycharm/work' if path not

Im stuck with my WSGI FIle on pythonanywhere.com

2015-05-25 Thread Robert librado
939 :Traceback (most recent call last): 2015-05-25 18:45:19,939 : File "/bin/user_wsgi_wrapper.py", line 130, in __call__ 2015-05-25 18:45:19,939 : self.error_log_file.logger.exception("Error running WSGI application") 2015-05-25 18:45:19,939 : File "/usr/lib/python2.7/logging/__init__.py", line

Django and Jquery UI

2015-05-19 Thread Robert librado
me to drag I added {% load staticfiles %} Any Ideas on why Thanks Robert -- 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-user

Re: Embeding HSQLDB in a standalone App

2015-05-19 Thread Robert librado
Anybody understand how to connect Django and Jquery UI together I downloaded the Files and added to the site and added html and inserted the code yet it does not do the jquery motions like drag just comes out plain Ive done python manage.py collectstatic On Tue, May 19, 2015 at 7:57 PM, Russell

Re: Django is not sending 500 error emails, AdminEmailHandler is not even triggering... what's going on?

2015-03-25 Thread Robert Rollins
I'm also reasonably certain that this isn't limited to just AdminEmailHandler. It seems like *nothing* I set up as a logging handler for 500 errors gets triggered. On Wednesday, March 25, 2015 at 12:47:59 PM UTC-7, Robert Rollins wrote: > > I'm at my whit's end trying to debug this p

Django is not sending 500 error emails, AdminEmailHandler is not even triggering... what's going on?

2015-03-25 Thread Robert Rollins
I'm at my whit's end trying to debug this problem with one of my Django sites. I've done absolutely everything I can think of, and that google direct me to, to make it send 500 emails, but to no avail. For some reason I cannot fathom, even with every logging setting I know set to the Django

Re: Existing database - new project

2015-03-13 Thread Robert Daniels
thanks for everyone's input. I'll run parallel implementations and see which one works best for the long haul. -- 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

Existing database - new project

2015-03-06 Thread Robert Daniels
I understand it is possible to use an existing database on a new Django project. As I see it, I have 2 choices. 1 - Use the existing database and deal with it in that fashion. or 2 - Create a new project to store the same type of data as if there were no existing database, Then write a

Restrict downloading files in Django?

2015-01-31 Thread Robert Rössler
Hello, what is the best way to restrict downloading files only to authorized users? I want to let users upload files and let them download them, but restrict downloading other users files. Thank you -- You received this message because you are subscribed to the Google Groups "Django users"

Re: initial dta for model in Django 1.7 or newer

2014-12-26 Thread Robert Jonathan Šimon
Hi, I am very sorry, but I don't understand russian. Can you answer me in english? And I am using Python 3.4. Dne 26. 12. 2014 14:30 "Валерий Бовсуновский" <id290...@gmail.com> napsal(a): > > > четверг, 25 декабря 2014 г., 18:06:35 UTC+3 пользователь Robert Jonathan

initial dta for model in Django 1.7 or newer

2014-12-25 Thread Robert Jonathan Šimon
Hi, When i googled for this problem a found out, that with migrations in Django 1.7, there is new way how it should be done, but i didnt understand it how. Can anyone explain me the new way how to do it? Thanks a lot. -- You received this message because you are subscribed to the Google Groups

Foked Django Mezzanine with Query-less database SearchQuerySet integration [Gazelle]

2014-12-22 Thread Robert Steckroth
Hello community, I wanted to show interest in collaborating on an opensource Django application called Gazelle (a fork of Mezzanine). I built a SearchQuerySet with a drop in replacement to the filter() command which does not hit the database. So, far the results are promising and I am opening the

Postawienie łącznika międy bazą danych a resztą świata (aplikacje mobilne)

2014-11-18 Thread Robert Ostrowski
Witam wszystkich, jestem kompletnie zielony jak chodzi o weba, tworzę aplikacje i gry na platformy mobilne (i nie tylko). Dostałem zlecenie na napisanie aplikacji wymagającej komunikacji z bazą danych. Wiem już że postawienie samej bazy danych jest dość proste (mySQL znam), wiem też że serwerem

Re: Multiple site package directories for Python and question about apache configuration

2014-11-04 Thread robert brook
nd then when you will do setup.py for a library you > download, they will be in different locations! > http://stackoverflow.com/a/12950101/861487 > > Le lundi 3 novembre 2014 21:24:17 UTC+1, robert brook a écrit : >> >> I overlooked mentioning that the path command returned

Re: Multiple site package directories for Python and question about apache configuration

2014-11-03 Thread robert brook
I overlooked mentioning that the path command returned 2 different locations for the 3 modules. Not sure why one package got installed in the lib64 path. They were all installed with the setup.py install command. On Monday, November 3, 2014 3:18:06 PM UTC-5, robert brook wrote: > >

Multiple site package directories for Python and question about apache configuration

2014-11-03 Thread robert brook
I am building the web application on a linux red hat machine. I was trying to pull the path for the site packages for the 3 modules that I have installed so that I can specify the path in the apache config file Can I specify 2 paths in Apache? Thanks >>> import django >>> print

Re: Multiple versions of python on linux server

2014-11-03 Thread robert brook
together would be much appreciated. Thanks On Monday, November 3, 2014 11:21:50 AM UTC-5, Tim Chase wrote: > > On 2014-11-03 08:07, robert brook wrote: > > I do not have the luxury to create a virtual environment because of > > the constraints of this organization. &g

Re: Multiple versions of python on linux server

2014-11-03 Thread robert brook
that would be in this directive? Thanks On Monday, November 3, 2014 10:57:47 AM UTC-5, Andréas Kühne wrote: > > 2014-11-03 16:46 GMT+01:00 robert brook <software@gmail.com > >: > >> This is the first time that I am having apache configured to run django >> >> I plan

Multiple versions of python on linux server

2014-11-03 Thread robert brook
This is the first time that I am having apache configured to run django I plan on using mod_wsgi on apache and linux using 2 servers, the apache server and the application server. The linux (red hat 6) / django server had python 2.6 installed for admin purposes out of the box.. Go figure, 2.6

Re: Successful project on windows does not render assets on mac

2014-11-01 Thread robert brook
finds media directory, but not the static one, so > just use print and the variable of your static folder and look at the > console where python is seeing the static folder. > > Le samedi 1 novembre 2014 23:44:21 UTC+1, robert brook a écrit : >> >> I am copying the code from o

Successful project on windows does not render assets on mac

2014-11-01 Thread robert brook
I am copying the code from one development machine(windows) to another (mac) and can see in the command window that *404* are being displayed as the status codes. The rendered template has very little successful formatting Any thoughts why this is happening on mac. Also, this development will

  1   2   3   4   5   >