Re: Management command scheduling options

2023-10-25 Thread Adam Stein
can add or update easily during deployment. Maybe you can make use of that so you can keep everything in your project. -- Adam (a...@csh.rit.edu) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

ORA-00904: "USER_TAB_COLS"."COLLATION": invalid identifier

2021-12-13 Thread Kipkemei Adam
Hi, I'm having this error as I try to inspectdb or make migration to Oraclebd. Please assist with a quick fix. C:\inetpub\wwwroot\mysite>python manage.py inspectdb This is an auto-generated Django model module.You'll have to do the following manually to clean this up:* Rearrange models'

Re: circular imports error

2021-06-11 Thread Adam Stein
Glad to be of help. Sometimes it just takes a fresh pair of eyes. On Fri, 2021-06-11 at 17:33 -0500, frank dilorenzo wrote: > I hate to sound corny but you sir are my hero!.  Thanks,  it all > works now >   > frank- > > > On Fri, Jun 11, 2021 at 2:43 PM Adam Stein wrote:

Re: circular imports error

2021-06-11 Thread Adam Stein
ruly > appreciate any help on this.  Thanks. > > Frank > -- > 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+u

Re: Looking to join a team in a Django Project to gain Experience

2020-12-03 Thread Ammar M. Adam
We are all interested so why don't we all think of an idea and try to create a repo and start working . Any ideas please list it in this whatsapp group : https://chat.whatsapp.com/FqV7WfsfdMrL3RGZ0EqPf7 On 3 Dec 2020 18:14, "شيماء شعبان حسن" wrote: > hi, > > I am interested. > > ‫في الخميس، 3

Re:

2020-12-01 Thread Ammar M. Adam
You should type : Python -m pip install django This is the command to install django I hope you get it On 2 Dec 2020 00:13, "Gregory kalinga" wrote: > > > hi kasper. > thanks for answer, my aim is to install django but when i try to make it > i get this error 'prog>python -m install django >

Re:

2020-12-01 Thread Ammar M. Adam
In windows try running your command prompt in administrator mode . On 1 Dec 2020 23:56, "Gregory kalinga" wrote: > Am Kalinga gregory a biginner on django, > I faced a problem in installing django. It tells me unable to create > process using 'C:\Users\KALINGA >

Re:

2020-12-01 Thread Ammar M. Adam
Try to use sudo if you are in Linux Or just enter your virtual environment and try again On 1 Dec 2020 23:56, "Gregory kalinga" wrote: Am Kalinga gregory a biginner on django, I faced a problem in installing django. It tells me unable to create process using 'C:\Users\KALINGA

Re: Director of Engineering for Headless CMS SaaS Startup

2020-12-01 Thread Ammar M. Adam
*That is an interesting offer* Do you have an internship program ? I am student but am experienced with django, python and backed development stuff. I also have so basic experience and training in the field of data Science and ML . I would love to hear from you . Ammar Mohammed On 1 Dec 2020

Re: DjangoProject

2020-08-11 Thread Adam Johnson
y for them to answer. Thanks for your understanding and all the best, Adam On Tue, 11 Aug 2020 at 17:53, Desh Deepak wrote: > Hello everyone, I want to developing a django project. Who wants to > collaborate to do a project and learn django share your github user id for > github reposeto

Re: Read Text file in django

2020-05-27 Thread Ammar M. Adam
Welcome  anytime  On May 27, 2020 23:30, "Lansana Sangare" wrote: > Thanks guy, it works now > > Ammar M. Adam schrieb am Di., 26. Mai 2020, 23:43: > >> The FileField Must have a function for that >> Use help(django.models.FileField) >> It must have so

Re: Read Text file in django

2020-05-26 Thread Ammar M. Adam
The FileField Must have a function for that Use help(django.models.FileField) It must have some sort of FileField.read() or something like that. Am also a beginner but I think this should work with you . On May 26, 2020 23:34, "Lansana Sangare" wrote: > Good evening people, > i'm a beginner at

What is considered copyright when it comes to building a website?

2020-05-24 Thread Adam Scerra
I understand that many CSS style sheets are passed around and shared frequently across the web. My question is when does leveraging someone else's web page code become illegal? Example here is: Finding a website that I would like to emulate. Copying their HTML files and CSS files. Editing the

Re: New to Django, can't get it running on the web through http://127.0.0.1:8000/

2020-04-26 Thread Adam H
I realize this is an old post. so this is for the next person who stumbles in here looking for an answer to the same question. I had the same problem. for me, i was missing a colon in my code. it was that simple. check for red underlines in your code i tried runserver again, python3 manage.py

Re: ORM from the command line

2020-04-09 Thread Adam Mičuda
Hi, you can also write simple python script and run it in Django context via https://django-extensions.readthedocs.io/en/latest/runscript.html from `django-extensions` package. Best regards. Adam čt 9. 4. 2020 v 17:14 odesílatel Tim Johnson napsal: > Thank you Andréas. I have come acr

Re: Looking for Django developers to work on a new and an existing project with our team

2020-04-06 Thread Ammar M. Adam
Ok, I'll do the jop Just pm me in WhatsApp : +249905599319 On 29 Mar 2020 7:57 pm, "Lax Nayak" wrote: > I am looking for a django developer who has expertise in building > enterprise grade solutions. > > > -- > You received this message because you are subscribed to the Google Groups > "Django

Re: send free sms on phone and email to user

2020-03-09 Thread Adam Bouras
We can create an account with Twilio, which provides step-by-step to send text message using python. https://www.twilio.com/docs/libraries/python On Monday, March 9, 2020 at 1:17:22 AM UTC-5, sagar ninave wrote: > hello community, > > i want to send free sms on mobile phone and email through

Re: Attribute Error

2020-02-17 Thread Adam Mičuda
Hi, you have to return instance of `django.http.HttpResponse` class from you view `RegisterStudent` instead of string: *line 98* and *line 99*. see https://docs.djangoproject.com/en/3.0/ref/request-response/#django.http.HttpResponse Regards. Adam po 17. 2. 2020 v 13:49 odesílatel Ernest Thuku

Re: Unit Testing POST request

2020-02-13 Thread Adam Mičuda
Hi, or you can extract the business logic from view to some service and unit test it instead. =) Regards. Adam st 12. 2. 2020 v 21:15 odesílatel onlinejudge95 napsal: > On Wed, Feb 12, 2020 at 6:22 PM onlinejudge95 > wrote: > >> Hi Devs, >> >> I was implement

Re: Manually running a script that imports a Django model

2020-02-13 Thread Adam Mičuda
u are want. ;) Regards. Adam čt 13. 2. 2020 v 14:03 odesílatel Sourish Kundu napsal: > So I am trying to access one of my models created in views.py in another > script. This second script is the one I would like manually run. It imports > the model without any errors; however, when I try to r

Re: Viewing django source code (previous versions) from docs.djangoproject.com

2020-01-15 Thread Adam Mičuda
Hi, Django code is hosted on GitHub https://github.com/django/django. You can select the branch/tag there. The link to github is on homepage too https://www.djangoproject.com/. Regards Adam st 15. 1. 2020 v 19:48 odesílatel Raines DeMint napsal: > Hi there, > I want to be able t

Re: Django Channels2 - after a system chrash or power failure channel name persists.

2019-11-22 Thread Adam Hooper
annels disappear from groups immediately (so you should set group_expiry to an enormous number). Enjoy life, Adam -- 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

Re: Django Channels persistent DB connection

2019-11-15 Thread Adam Hooper
A database connection is a thread (on the database server). You won't find much help online if you're trying to tie up a database connection per Websocket. I found an exception: an academic project from some University of Alberta students. https://github.com/Kai-Bailey/WebSock. It's not Djan

Can we nix "group_expiry" from the Channel Layer Specification

2019-11-15 Thread Adam Hooper
still adhering to the Channel Layer Specifiation. I filed https://github.com/django/channels/issues/1371 with this request, but nobody answered. Enjoy life, Adam -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from thi

Re: Django Channels persistent DB connection

2019-11-15 Thread Adam Hooper
ation. Based on the > description of *database_sync_to_async* it sounds like the connection is > closed/cleaned up on each call. > > Is there an option for a persistent DB connection in Channels? > Use Django's CONN_MAX_AGE <https://docs.djangoproject.com/en/2.2/ref/databases/#persistent-co

Re: OSError: [WinError 126] The specified module could not be found

2019-10-30 Thread Adam Starrh
I just solved this for myself by switching to 32-bit versions of Python and OSGeo4Win On Thursday, April 11, 2019 at 8:31:47 AM UTC-7, Dieu Donne Megnassan wrote: > > I need help to figure this out. I'm a GeoDjango newbie and I've been > trying to setup the geograpic libraries to no avail.I am

Re: django.contrib.gis for Windows 10

2019-10-30 Thread Adam Starrh
For future reference, make sure you are using 32-bit versions of Python and OSGeo4Win. GDAL doesn't seem to work otherwise. On Thursday, June 13, 2019 at 12:45:32 PM UTC-7, RyuCoder wrote: > > Hey, > > I had a similar issue with one of the projects I was working on. > > GDAL was not working

Re: filter.update

2019-10-11 Thread Adam Mičuda
for more information. Regards Adam Dne pátek 11. října 2019 18:05:09 UTC+2 Luca Bertolotti napsal(a): > > sorry but i have a big problem > > I have this > > mylist = ['a','b','c'] > > than Mydbtable.filter(column = value),update(mylist[0]=value) > > wh

Channels chat consumer behaves differently in prodcution vs development

2019-10-06 Thread Adam Simon
({ 'user': self.scope["user"].first_name, # <<< this is the line I added 'message': message })) Thanks, Adam -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop r

Re: How to inspect MSSQL Database in Django 2.1

2019-09-12 Thread Adam Parsons
Hi Wikils, It might help if you can post some additional context to the situation, as well as some output of the errors you're experiencing. Without seeing the error message, we cannot possibly help you determine the issue. Could you please provide the following 1. Your settings.py (with

Re: Creating a workflow for customer contractor not importing..

2019-08-02 Thread Adam Mičuda
Hi, it seems like *Contractor* class is defined in *RfqInstance* class, just like class *Meta* is. Adam Dne pá 2. 8. 2019 20:55 uživatel Kean napsal: > Hi, > Im new to django, im trying to create a workflow, whereby a customer > creates an RFQ, this flow to a contractor, who can >

Re: Deleting a record exactly once

2019-08-01 Thread Adam Parsons
with state management, it might be worth setting a lock in state. Hope that helps, Adam On Friday, 2 August 2019 08:57:13 UTC+8, Ian Hoffman wrote: > > Hi everyone, > > I work on a medium-sized app where we might have tens of concurrent > requests in flight at once. The application

Re: Unwelcome error!

2019-05-21 Thread Adam Parsons
You need to read the error message, it says there is no such table. This refers to a missing table in the database. Given it is referring to django_session, you have not run migrations yet. If you follow the Django project's official tutorial, it will walk you through that process in step 2

Re: Script for running Daphne and runworker in the background . runworker ends after session expires.

2019-03-23 Thread Adam Zedan
daphne/afcom.log 2>&1 & > > > On Sun, Mar 24, 2019 at 10:52 AM Adam Zedan wrote: > >> I am trying to create a bash script that would run Daphne and runworker >> in the background. >> This is what I came up with so far >> >> >> echo "

Re: Script for running Daphne and runworker in the background . runworker ends after session expires.

2019-03-23 Thread Adam Zedan
Seems like Daphne and runworker both terminate after session expires On Saturday, March 23, 2019 at 7:51:26 PM UTC-7, Adam Zedan wrote: > > I am trying to create a bash script that would run Daphne and runworker in > the background. > This is what I came up with so far > > >

Script for running Daphne and runworker in the background . runworker ends after session expires.

2019-03-23 Thread Adam Zedan
I am trying to create a bash script that would run Daphne and runworker in the background. This is what I came up with so far echo "Killing Redis." killall redis-server #echo "Starting redis Server." redis-server --daemonize yes echo "Stopping NGINX.." sudo /etc/init.d/nginx

Re: Dispatching requests from one uwsgi to another uwsgi instance running Django Channels

2019-03-23 Thread Adam Zedan
YES it worked. I used Daphne with nginx and it worked. Thank you. On Friday, March 22, 2019 at 5:58:20 PM UTC-7, Adam Zedan wrote: > > I am currently using Django channels for websocket communication. I read > this > <https://django-websocket-redis.readthedocs.io/en/latest/runn

Re: Dispatching requests from one uwsgi to another uwsgi instance running Django Channels

2019-03-23 Thread Adam Zedan
s? I am using Django channels and >> following its suggested package: ASGI provided by Daphne >> >> Regards, >> >> Aldian Fazrihady >> >> On Sat, 23 Mar 2019, 07:58 Adam Zedan, > >> wrote: >> >>> I am currently using Django

Dispatching requests from one uwsgi to another uwsgi instance running Django Channels

2019-03-22 Thread Adam Zedan
I am currently using Django channels for websocket communication. I read this article and it states that I should split the project into two uwsgi instances. It

How can I start with django

2018-11-27 Thread Khalid Adam
I like freamework -- 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: 404 out of the box in chrome. firefox works as expected

2018-08-13 Thread Adam Gutierrez
nevermind. turns out it was a chrome extension. On Monday, August 13, 2018 at 7:40:32 PM UTC-5, Adam Gutierrez wrote: > > After running django-admin and installing I get the below error when > navigating to the default django template in chrome. Firefox works without > a hitch. No v

404 out of the box in chrome. firefox works as expected

2018-08-13 Thread Adam Gutierrez
After running django-admin and installing I get the below error when navigating to the default django template in chrome. Firefox works without a hitch. No view, or urls updates makes any difference. Is the problem that my environment is sending the request URL twice. I assumed it had to with

Re: Django tests and token timeout

2018-07-30 Thread Adam Stein
ordResetTokenGenerator which has a timeout that > is > not given in days but hours, to make the password token timeout more > fine grained. Is there a way to test such a timeout in Django tests, > i.e. something that lets the unit test use a fake time in the future? > > cheers

Re: Django Templates and Conditional CSS classes

2017-11-10 Thread Adam Simon
: > At some point I plan on figuring out how to do more intelligent front-end > in-browser stuff (Angular, etc) which yeah would definitely help me here > but I was wondering if there was a Django-only way of doing this. > > > On Friday, November 10, 2017 at 3:51:09 PM UTC-5, Ad

Re: Django Templates and Conditional CSS classes

2017-11-10 Thread Adam Simon
ups.google.com/d/msgid/django-users/6a3adb62-f3d7-4cc2-8c97-add34cf757ce%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/6a3adb62-f3d7-4cc2-8c97-add34cf757ce%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/opt

Re: Seeking design guidance on a Team model where a user sends invitation to other users to join the team

2017-11-10 Thread Adam
Weird, I dont see our conversation, Anyway here is a simple setup: urls.py: from django.conf.urls import url from .views import ajax_comment_send urlpatterns = [ url("comment_send", ajax_comment_send, name="comment_send"), ] then a view - this is from my project, you will to make

Re: Django - Pass a model instance specified by template tags to the view

2017-11-09 Thread Adam Simon
ᐧ > > On Thu, Nov 9, 2017 at 6:19 PM, Adam Simon <add.simm.8...@gmail.com> > wrote: > >> >> Hi Jack. I will write some more details when I get home. Have you ever >> used Ajax? >> >> On Thu, Nov 9, 2017 at 3:14 PM Jack <valachio...@gmail

Re: Django - Pass a model instance specified by template tags to the view

2017-11-09 Thread Adam Simon
.google.com/d/msgid/django-users/eab1a4c0-2cc1-41d0-aace-f8ef3fd73112%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/eab1a4c0-2cc1-41d0-aace-f8ef3fd73112%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout.

Re: Django - Pass a model instance specified by template tags to the view

2017-11-09 Thread Adam Simon
ere to write a form for each agent? Plus it'll be super > time consuming. > > I'm going to try the hidden agent.id thing, I never thought about that. > I'll report back to see if I managed to get it working. > > On Wednesday, November 8, 2017 at 6:24:29 PM UTC-5, Adam wrote: >>

Re: Django - Pass a model instance specified by template tags to the view

2017-11-08 Thread Adam Simon
commas, and have that hidden field submitted via the form Then on the backend separate out each ID and have the invites sent one by one. I would be happy to write some code if you wish. -- -- Adam F. Simon, PhD Calabasas, CA. cell: 818-425-3719 home: 818-880-8405 Feel free to link w/

Re: Add a processing page between submit page and result page

2017-11-07 Thread Adam Simon
hile, I want to add a waiting page to tall users that it is running on the >> server. When the result is ready, it will automatically jump to the result >> page. >> I do not know what I should do to get these! >> >> Is there anyone can help me! >> >> Thank You! >&g

Re: channels working in runserver but "Still in CONNECTING state" then "ERR_CONNECTION_TIMED_OUT" in production

2017-11-01 Thread Adam
Anybody? On Monday, October 30, 2017 at 10:57:26 AM UTC-7, Adam wrote: > > > Hello, > > I am following "getting started" in the django channel docs as well as > "django channels form the ground up" > https://artandlogic.com/2016/06/django-channels-

channels working in runserver but "Still in CONNECTING state" then "ERR_CONNECTION_TIMED_OUT" in production

2017-10-30 Thread Adam
ot;CONFIG": { "hosts": [("localhost", 6379)], }, "ROUTING": "dojos.routing.channel_routing", }, } ROUTING.PY and CONSUMERS.PY copied exactly from the docs. Here is the supervisor configuration: [program:dojos] command=/home/adam/dojos/b

Re: Initial data, tests and migrations

2017-02-22 Thread Adam Stein
On Wed, 2017-02-22 at 15:06 +, 'Tom Evans' via Django users wrote: > On Wed, Feb 22, 2017 at 2:41 PM, Adam Stein <a...@csh.rit.edu> wrote: > > > > On Wed, 2017-02-22 at 14:22 +, 'Tom Evans' via Django users > > wrote: > > > > The URL you refer

Re: Initial data, tests and migrations

2017-02-22 Thread Adam Stein
migrations (DRY) >   * I don't want to modify the 3rd party library. > > How? > > Cheers > > Tom > > [1] https://docs.djangoproject.com/en/1.10/howto/initial-data/#provid > ing-initial-data-with-migrations > The URL you refer to mentions about loading data fo

Re: return Database.Cursor.execute(self, query, params) django.db.utils.IntegrityError: NOT NULL constraint failed: auth_user.last_login when adding a superuser

2017-02-12 Thread Adam
nt failed: auth_user.last_login On Sunday, February 12, 2017 at 4:19:16 AM UTC-8, Antonis Christofides wrote: > > Hello, please show the full traceback. > > Antonis Christofideshttp://djangodeployment.com > > On 02/12/2017 06:58 AM, Adam wrote: > > Hi everyone, &g

return Database.Cursor.execute(self, query, params) django.db.utils.IntegrityError: NOT NULL constraint failed: auth_user.last_login when adding a superuser

2017-02-12 Thread Adam
Hi everyone, I'm super new to django, I tried to add a superuser and this is the error I got: File "/root/udemystuff/test_project/trydjango19/local/lib/python2.7/site-packages/django/db/backends/sqlite3/base.py", line 323, in execute return Database.Cursor.execute(self, query, params)

Re: Django Channels alongside Django Rest Framework

2017-02-03 Thread adam . oxley
for the prompt response and appreciate the work done for Django! Adam On Tuesday, 31 January 2017 12:09:17 UTC, adam@hedgehoglab.com wrote: > > Hi everyone, > > We are currently considering using Django Channels for implementing > WebSockets into a project. I am wondering if it is kn

Django Channels alongside Django Rest Framework

2017-01-31 Thread adam . oxley
DRF working on its own, but channels not working, and channels working on its own but not DRF (in the same project), depending on whether I ran the daphne server or 'runserver' which I assume runs WSGI. Couldn't find anything online about getting these two side by side. Thanks, Adam

Re: Mocking date and time in LiveServerTestCase?

2017-01-25 Thread Adam Stein
ions  > return a predetermined value. > > Can this be achieved? > > Best regards, > Carsten > -- Adam (a...@csh.rit.edu) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and sto

Clone formset

2017-01-18 Thread Adam Teale
think I understand that it is the formset's management_form that I need to manipulate to set the foeignkey to the cloned form.pk Any suggestions? I hope my question makes some sense. Thanks Adam -- You received this message because you are subscribed to the Google Groups "Django users&q

At last! Django Channels / web sockets running on MacOS Server 5.2 (Apache 2.4.23)

2017-01-12 Thread Adam Teale
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC] RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC] RewriteRule .* ws://localhost:8001%{REQUEST_URI} [P] ​Sure enough after restarting the ServiceProxy it all started to work!​ --- Adam -- You

Re: Django Channels - WebSocket connection to 'wss://mysite.local/chat/stream/' failed: WebSocket is closed before the connection is established. response code: 200

2016-12-22 Thread Adam Teale
If you want to > keep using Apache I would consider looking at mod_proxy_wstunnel. > > Andrew > > On Thu, Dec 22, 2016 at 2:24 PM, Adam Teale <adam...@gmail.com > > wrote: > >> Hi everyone, >> >> I have a django app running on mac os x server via mod_wsg

Django Channels - WebSocket connection to 'wss://mysite.local/chat/stream/' failed: WebSocket is closed before the connection is established. response code: 200

2016-12-22 Thread Adam Teale
localhost:8000/chat/stream Require all granted ProxyPass http://localhost:8000/chat ProxyPassReverse http://localhost:8000/chat Can anyone shed some light on what this could be about? Is this an apache config issue? Thanks! Adam -- You received this message because you are

Re: Running daphne in production - Mac OS X Server 10.11

2016-11-14 Thread Adam Teale
can shed some light on this or offer an opinion I'd really appreciate it. Cheers Adam -- 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: Running daphne in production - Mac OS X Server 10.11

2016-11-11 Thread Adam Teale
I came across a post that suggested running Daphne like this: daphne multichat.asgi:channel_layer --port 8000 -v 2 The updated error: 2016-11-11 15:43:14,453 DEBUGHTTP GET request for http.response!KwJtQDgmoifR 2016-11-11 15:43:14,478 DEBUGHTTP 404 response started for

Re: Running daphne in production - Mac OS X Server 10.11

2016-11-11 Thread Adam Teale
I think my grief may be coming from connecting over https/SSL. When I run the worker with the -v 2 option it shows: 2016-11-11 14:55:43,446 - DEBUG - worker - Got message on http.request (reply http.response!EKDQPeJsDRwU) 2016-11-11 14:55:43,447 - DEBUG - runworker - http.request 2016-11-11

Re: Running daphne in production - Mac OS X Server 10.11

2016-11-11 Thread Adam Teale
Also getting this error in the browser log: WebSocket connection to 'ws://alfred.local/chat/stream/' failed: Unexpected response code: 503 On Friday, 11 November 2016 11:24:25 UTC-3, Adam Teale wrote: > > Hi Andrew, > > I think I'm starting to get somewhere, I hav

Re: Running daphne in production - Mac OS X Server 10.11

2016-11-11 Thread Adam Teale
Hi Andrew, I think I'm starting to get somewhere, I have edited one of the apache virtualhost conf files to include these lines: ProxyPass / http://127.0.0.1:8000/ ProxyPassReverse / http://127.0.0.1:8000/ Now when I access the server I am getting some feedback in the steel running

Re: Running daphne in production - Mac OS X Server 10.11

2016-11-10 Thread Adam Teale
Ahhh great that's probably what I was misunderstanding - setting up Apache to proxy all requests to Daphne. I'll look into this and post back to this thread just in case anyone else is in the same boat. Cheers Andrew! Adam On Thursday, 10 November 2016 17:53:18 UTC-3, Andrew Godwin wrote

Re: Running daphne in production - Mac OS X Server 10.11

2016-11-10 Thread Adam Teale
some more basic information on setting up the server itself so that Daphne is doing all the work - or perhaps I am missing something completely obvious here. Thanks again Andrew! Adam On Thursday, 10 November 2016 17:33:32 UTC-3, Andrew Godwin wrote: > > Hi Adam, > > It looks

Running daphne in production - Mac OS X Server 10.11

2016-11-10 Thread Adam Teale
that I do not have Daphne configured properly to receive the web socket connections from the appropriate port / IP address (it shouldn't be localhost right?). I hope that makes some sense and that someone might be able to shed some light on what I have misunderstood. Many thanks! Adam -- Yo

Re: Group results with multiple uses of annotate()

2016-09-08 Thread Adam Starrh
OK I got this to work. The second annotate needs to go at the end, so that the order is as follows: .filter().values().annotate().order_by().annotate() On Thursday, September 8, 2016 at 10:04:40 AM UTC-4, Adam Starrh wrote: > > I've got the following function in a manager which seems t

Group results with multiple uses of annotate()

2016-09-08 Thread Adam Starrh
I've got the following function in a manager which seems to work well, annotating data and grouping results by "variety name": def by_variety_and_date(self, start_date, end_date): return self.model.objects.filter( date__range=(start_date, end_date) ).values(

Re: 1.7.9 deployment stubbornly won't create a test database

2016-08-30 Thread Adam Hirsch
And the answer turned out to be... we were/are using a multidb setup, which silently prevents the test suite from creating a test db. Setting DATABASE_ROUTERS = [] re-enabled the test db creation. Sigh. It's always the little things. -- You received this message because you are subscribed to

1.7.9 deployment stubbornly won't create a test database

2016-08-29 Thread Adam Hirsch
'default' (':memory:')... [...] Destroying test database for alias 'default' (':memory:')... ... but there are no such lines in my real installation. I'm baffled. Adam -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubs

Forcing Localization

2016-08-07 Thread Adam Starrh
I am writing an application for my small business based in India, where numbers are commonly understood in terms of lakhs and crores. ie. 1,000,000 is displayed as 10,00,000 I am assuming that enabling localization will cause numbers to display this way when I am viewing my application from

opentok tokbox

2016-07-04 Thread Adam
Has anyone integrated these into a django project? Are there any good alternatives? Our use case is as a virtual classroom / webinar. It seems odd that with all there documentation, nothing mentions django. Likewise furious googling fails to turn up anything beyond one GitHub example

Re: Looking for a way to broadcast live video streams. Is it possible with Django ?

2016-06-04 Thread Adam
Thanks also, Does anyone have an opinion on big blue button? or a similar lms solution to this issue? Adam -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: Test fails when run in whole test suite - but not stand-alone?

2016-06-02 Thread Adam Stein
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-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discus

Re: Looking for a good Django Forum

2016-05-31 Thread Adam
- the file structure put me off. it seems needlessly complicated with several apps and the templates stored in different directories. I will try this next. Machina and Misago both say not to use in production . I am going to try lbforum now. Adam On Friday, September 4, 2015 at 1

Re: Storing images in a database using Django.

2016-05-06 Thread Adam Stein
; > database through the web app. I was thinking of creating folders > > > that contain the pertinent photos and "somehow" storing them in > > > the database for further use. The name of the folder would be the > > > same as the recipe_ID, and the photos would be named &g

Re: Requesting data from an API and rendering data on website

2015-11-18 Thread Adam Simon
With all respect Jani, I do not think this is the right answer. Django-cms per se does not give top level access to the views, so integrating pure python is not as easy as it sounds. Adam On Wednesday, November 18, 2015 at 3:50:46 AM UTC-8, Jani Tiainen wrote: > > Then I suggest that

Writing tests after I took over a project. Getting 'Cannot add foreign key constraint'.

2015-08-21 Thread Adam Heller
When I took over this project it was in Django 1.5. I've since incrementally upgraded it and am now running successfully in 1.8.3. There are also no tests written. I've decided to write a few tests after adding some new views today. when i run ./manage.py test apps.public_web, i'm given the

Re: ProgrammingError: relation "django_content_type" already exists

2015-06-16 Thread Adam Teale
Hey guys did you manage to get anywhere with this? On Tuesday, 24 March 2015 03:00:28 UTC-3, Mike Dewhirst wrote: > > This is my first stab at upgrading directly from Django 1.6.11 to 1.81c > to see what needs to be done. I thought I'd skip 1.7.x - is that a bad > idea? Is there some step in

Django 1.8 migrate - relation “django_content_type” already exists

2015-06-16 Thread Adam Teale
Hi Guys, Any idea why I would be getting this error when I try to migrate? django.db.utils.ProgrammingError: relation "django_content_type" I am using using django 1.8 & postgresql Thanks! Adam -- You received this message because you are subscribed to the Google Groups

Filtering a QuerySet by the result of user.has_perm

2015-03-10 Thread Adam Gamble
ssions. Appreciate any ideas, Adam -- 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

Re: What is *the* django 1.7 IDE which is opensource & multiplattform

2014-09-24 Thread Adam Stein
ng I've ever worked on C, C++, Python/Django, Perl/CGI, etc., would all start in a local development environment first. If you don't find good answers to your question, maybe you should wonder why. Perhaps most people do things a different way and so your question really doesn't have a good answer. Ju

Re: What is *the* django 1.7 IDE which is opensource & multiplattform

2014-09-24 Thread Adam Stein
On Wed, 2014-09-24 at 12:03 -0700, John Schmitt wrote: > On Wed, Sep 24, 2014 at 07:40:51AM -0400, Adam Stein wrote: > > Not sure what you are looking for in terms of Django template support. > > The only difference between pycharm community (free) and commercial in > > te

Re: What is *the* django 1.7 IDE which is opensource & multiplattform

2014-09-24 Thread Adam Stein
ve >no support for *django templates* > > - all other ides like PyCharm are commercial (the free pycharm does >not support django and django templates, only python) > > Now the question: does somebody know a solution? > > Thanks > > Anton > > -

Re: TypeError: int() argument must be a string or a number, not 'User'

2014-09-09 Thread Adam Cooley
pip freeze for the win! On Tuesday, September 9, 2014 7:54:35 AM UTC-5, Adam Cooley wrote: > > I moved my django app from a single model to multiple apps inside a > project, and for some reason I'm getting an error: > > TypeError: int() argument must be a string or a number, not '

Re: TypeError: int() argument must be a string or a number, not 'User'

2014-09-09 Thread Adam Cooley
So come to find out when i re-installed i got django 1.7 instead of 1.6.2. Forked it back and i'm good. On Tuesday, September 9, 2014 7:54:35 AM UTC-5, Adam Cooley wrote: > > I moved my django app from a single model to multiple apps inside a > project, and for some reason I'm getting

TypeError: int() argument must be a string or a number, not 'User'

2014-09-09 Thread Adam Cooley
I moved my django app from a single model to multiple apps inside a project, and for some reason I'm getting an error: TypeError: int() argument must be a string or a number, not 'User' When i attempt to migrate and sync my project. Does anyone know what this is about? Tracebback is attached.

Re: Google App Engine / Django / Django-nonrel Best Practices

2014-07-18 Thread Adam Simon
://media.readthedocs.org/pdf/djangoappengine/latest/djangoappengine.pdf that has a date of May 19, 2014, pretty recent. If anyone has any more thoughts I would appreciate it, Adam -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Google App Engine / Django / Django-nonrel Best Practices

2014-07-16 Thread Adam Simon
Anybody? -- 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: Did Ubuntu 14.04 or Linux Mint 17 break your Django project files?

2014-07-16 Thread Adam Stein
jango-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/f0b3c781-e088-4ba1-a251-8e78795fd0f1%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Adam (a...@csh.rit.edu) -- You received this message

Google App Engine / Django / Django-nonrel Best Practices

2014-07-05 Thread Adam Simon
, there does not seem to be a part 2. Any other hints would be appreciated! Thanks, Adam -- 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

Raw query

2014-06-16 Thread Ahmed Adam
I want to create series of tables using mysql raw query with multiple lines in django view. Please help. -- 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 on App engine

2014-06-11 Thread Adam Simon
This is a great question! I would also like to hear some answers ... Adam On Thursday, May 1, 2014 4:46:38 AM UTC-7, Venkatraman.S. wrote: > > Hi, > > Has anyone or is anyone running a reasonably large django webapp on GAE? > Looks like it has become > <http://googled

Re: Question about moving code to product from local or development server.

2014-06-07 Thread Adam Stein
; 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/CACac-qY8nbj6uiPyvkorvARAqZ%2Bej7rAty_CtdkHnz5bXBKBKQ%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout.

  1   2   3   4   5   6   >