Hi David
Your router isn't configured correctly. This applies to all the
allow_foo() methods, but see allow_migrate [1] as an example:
Determine if the migration operation is allowed to run on the
database with alias db. Return True if the operation should run, False
if it shouldn’t run, or
On Tue, Mar 20, 2018 at 10:23 AM, Mukesh Jha wrote:
> I want to access a api from http://open-platform.theguardian.com/ or
> https://newsapi.org/ and load it into my sqlite database. The data in these
> site is in json format and I want them to get converted into my
It is not looking for "home_page.html", it is looking for
"base/home_page.html". On the error page it lists the locations it is
searching for the template, and explicitly says the directories that
are being searched.
You say the file is at
ngo and so this obviously isn't
correct.
I didn't mention it in the first post, this is for
py{27,34,35,36}-dj{108,109,110,111,200}, and developing against
py36-dj200
Cheers
Tom
On Mon, Mar 19, 2018 at 3:35 PM, Tom Evans <tevans...@googlemail.com> wrote:
> Hi all
>
> I'm writing a small libr
Hi all
I'm writing a small library which will be bundled together with a
pluggable django app.
The app provides a bunch of different AppConfig instances, the end
user chooses one and pops it in their INSTALLED_APPS:
INSTALLED_APPS += [ 'foo_lib.contrib.django_app.configs.FooAppConfig', ]
All
On Fri, Feb 23, 2018 at 4:20 PM, M Mackey wrote:
> I have noticed in the python
> path that there are two paths to .../lib/python3.6. One from my virtualenv,
> and one at /usr/local/. Not sure where to clear that up, since I don't
> believe I've got my apache env set up to pull
Hi all
We have a bunch of functional tests derived from
StaticLiveServerTestCase using selenium that have started failing
after upgrading from Django 1.8 to Django 1.11.
The database is initially populated via data migrations, but after
running one test it all the data loaded via migrations has
Please reply with the full error message. Also, I am pretty sure that
when pip fails to build something it also says "Full log message
available in /foo/bar/quuz.log". If it does, please also send the
contents of that log file.
Cheers
Tom
On Fri, Dec 15, 2017 at 12:41 AM, Aaron
ch I guess was the real problem?) I now get no
circular dependencies (woo!)
Unfortunately they still don't run, so that's the next task :(
Cheers
Tom
On Fri, Dec 15, 2017 at 11:37 AM, Tom Evans <tevans...@googlemail.com> wrote:
> Hi all
>
> I'm updating a project from Dj
Hi all
I'm updating a project from Django 1.8 to 1.11, however the migrations
which ran correctly under 1.8 now raise a CircularDependencyError for
(effortless_auth.0001_initial, app.0028_create_south_korea_data_set,
effortless_auth.0003_add_dev_group,
app.0027_create_effortless_verticals), which
Does it work if you do it in several stages (each one is a separate
migration action):
* Add the OneToOneField, make it nullable, still using MTI
* Add a python migration that populates it from the existing MTI information
* Remove the MTI
* Make the 1-2-1 field as you like it (remove null=True
On Thu, Aug 31, 2017 at 2:09 AM, Bernd Wechner wrote:
> Daniel,
>
> Yes, I have deployed, that is the problem in a sense. URLs are clean in dev
> and suddenly contain an app_name when deployed.
>
> Not sure what you mean by configuration? The Django settings are here:
>
>
On Tue, Aug 22, 2017 at 8:37 PM, Alexander Joseph
wrote:
> Thanks for all the advice.
>
> One more question - could project structure be causing issues with
> migrations? I'm working on a large project and many apps in my project have
> several layers of "sub-apps".
Your error refers to part of a class you haven't included,
ClientsForm, and it has an error to do with a class called Stacked,
which you haven't shown where it is imported from. Hard to diagnose
further..
Cheers
Tom
On Thu, Jul 27, 2017 at 1:02 AM, Elias Coutinho
On Wed, Jul 19, 2017 at 9:55 PM, Larry Martell wrote:
> This is probably not strictly a Django question, but I'm hoping
> someone here has had to solve this before.
>
> We have a django app that is sometimes deployed in an environment with
> SSL and talks over port 443,
On Tue, Jul 18, 2017 at 2:13 PM, 李余通 wrote:
> Thank you very much!you are right
> I solve the problem:
> [...]
> And last,I want konw how to send a web pag (can auto jumps Specific
> location) to others,such as you url
>
As described in the docs on form and field validation, if you want to
validate one field using another field, you do so in the clean()
method:
https://docs.djangoproject.com/en/1.8/ref/forms/validation/
and in detail
On Tue, Jul 11, 2017 at 12:05 AM, Mike Morris wrote:
> From your description (save a SHA-256 checksum), you do not need a binary
> field. Binaries are always of indeterminant length; they can hold photos,
> executables, sound files, etc.
>
> By definition, a SHA -256 is 256
On Tue, Jul 11, 2017 at 10:22 AM, kanhaiya yadav
wrote:
> Hi,
>
> I have a model
> class XyzModel (models.Model):
>name = models.CharField(max_length=NAME_LENGTH)
>unique_id = models.CharField(max_length=NAME_LENGTH)
>info =
On Mon, Jul 3, 2017 at 11:09 AM, shahab emami wrote:
> hello
>
> i have a question and i cant find answer with search.
>
> i want to save cropped image in database then :
> this is my model:
>
> class Photo(models.Model):
> file=
Hi Robert
Ignore the helpful people telling you to stop using vim and use some
god awful UI, the plugin you are looking for is called jedi.vim
https://github.com/davidhalter/jedi-vim
Debian has a package, vim-python-jedi, or you can install using
Pathogen or Vundle.
Cheers
Tom
On Fri, Jul 7,
Your checkbox fields on the form are "market" and "sector", but your
"Parameters" model doesn't have fields with those names, and you
aren't doing anything with the values from the form in your save()
method.
Where were you expecting those checkboxes to be saved?
Cheers
Tom
On Wed, May 31,
You need to change INTEGER and EXPRESSION for the correct values. I
believe for zh you want "nplurals=1; plural=0;"
Cheers
Tom
On Thu, May 18, 2017 at 7:41 AM, Martin Brochhaus
wrote:
> Hi everyone,
>
> in my project, I am generating my .po files like this:
>
>
On Mon, May 8, 2017 at 11:08 AM, sarfaraz ahmed wrote:
> Hello Guys,
> [ .. ]
> This is conf file for Apache
>
What data is "Jón"?
Is it u'J\xf3n' or something else? (print repr(self.fname))
Cheers
Tom
On Mon, May 8, 2017 at 5:10 PM, rmschne wrote:
> I have a Django setup that has worked for a very long time. Yesterday I
> upgraded from Django 1.10 to 1.11.1 and am getting the
On Thu, Mar 16, 2017 at 12:25 PM, valerio orfano wrote:
> Hi All
>
> i ve created a django application not using virtual environment. I ve
> installed nginx and trying to integrate them via uwsgi application.
> Here my configurations files.
>
> [uwsgi]
> chdir =
On Wed, Feb 22, 2017 at 2:40 PM, Tim Graham wrote:
> I'm curious if you feel that running django_otp's tests as part of your
> project's tests is adding value.
I'm curious whether you think I commonly spend my time doing things
that I don't think add value...
django_otp is
On Wed, Feb 22, 2017 at 2:41 PM, Adam Stein <a...@csh.rit.edu> wrote:
> On Wed, 2017-02-22 at 14:22 +0000, 'Tom Evans' via Django users wrote:
>
> The URL you refer to mentions about loading data for apps. Doesn't mention
> anything in regards to tests. Why are fixtures bad
On Wed, Feb 22, 2017 at 12:47 AM, Melvyn Sopacua <m.r.sopa...@gmail.com> wrote:
> On Tuesday 21 February 2017 19:00:42 'Tom Evans' via Django users wrote:
>
>
>
>> Previously, these instances were loaded from a JSON fixtures file,
>
>
>
> And you ca
Hi all
I'm having some difficulty working out how I am supposed to provide
initial data for testing purposes, particularly when the initial data
is not immediately pertinent to the test.
For instance, our project uses django_otp, which has some simple
tests. However, these tests create user
On Sat, Jan 21, 2017 at 9:40 AM, Bernd Wechner wrote:
> I have a model with this field:
>
> date_time = models.DateTimeField(default=timezone.now)
>
> if I look at the generic create form, it inializes the date_time field with
> now in UTC, not in local time.
>
> Now I
On Wed, Jan 18, 2017 at 11:42 AM, Stefano Tranquillini
wrote:
> Hi there,
>
> I'm using the StreamingHttpResponse to stream a response, it works great.
> Now, I've a middleware that measures the size of req/response that users do.
> For normal HttpResponse i use
On Tue, Jan 17, 2017 at 7:58 PM, Fred Stluka wrote:
> Mike,
>
> As of version 1.6, Django supports persistent DB connections
> (connection pooling).
Pedantry: Persistent connections are not the same as connection
pooling. With persistent connections, if a worker does not have a
Hi all
We're moving a project over to the latest release (well, we're at 1.7
now, but that's the end goal anyway) and replacing South migrations
with Django migrations.
It looks like that fixtures are no longer thought of as the correct
way of providing initial data. Is this because
On Sun, Oct 23, 2016 at 1:39 PM, Andrew Chiw
wrote:
> It seems there's a problem with my code, because you're just supposed to
> pass a dict to DocumentForm (or any modelForm really), not a model instance.
>
> I actually want to make a DocumentForm initialized with
On Fri, Oct 14, 2016 at 5:15 AM, Avraham Serour wrote:
> I will take a wild guess here and say that this is a modwsgi problem, it
> seems it will only load the django app after the first request.
Indeed, see this SO post for how to tell it to load your app
immediately on start
On Thu, Sep 15, 2016 at 8:21 AM, Rahul Doshi wrote:
> Hi ,I want to setup a dropbox like server with django. So far i have
> achieved uploading files onto a location .I want these files to show up on
> browser which they do(while saving file to the location I indexed an
On Fri, Jul 29, 2016 at 9:19 PM, Aztrock wrote:
> Excellent, thanks
>
> This method i use from django 1.4, never have problem.
>
Apart from having to restart your application server each time you
added a country, sure, no problems.
Cheers
Tom
--
You received this
On Wed, May 11, 2016 at 3:28 PM, quentin ladrier wrote:
> sorry for the delay . I obtain this kind of error message:
> NoReverseMatch at /my_views/my_arg/ . Reverse for 'xxx' with arguments
> '(my_arg,)' and keyword arguments '{}' not found. 1 pattern(s) tried:
>
On Thu, Mar 3, 2016 at 10:58 PM, Joshua Chan
wrote:
> First off, I am new to both django and python.
>
> I am extending an existing app. We have several admin.py files
>
> They all look like this:
>
> #!/usr/bin/env python
> # coding: utf-8
> from guardian.admin
On Sun, Feb 28, 2016 at 9:46 PM, wrote:
>
> I need get path to local file in for ImageField.
> Next, transfer path to my view thought Ajax request, update in database and
> almost all.
>
> I need will make it manually, for my goals.
>
> May be, anyone known how it
On Mon, Feb 1, 2016 at 10:13 AM, monoBOT wrote:
> Hello django!
>
> Im creating a saas with django, due to some project requirements need to
> manually change the user "on the fly" but have problems with the cookie,
> since I dont know how to manually (read
On Mon, Jan 18, 2016 at 1:03 AM, sum abiut wrote:
> Hi,
> i am having some trouble with my date picker. I probably missing someting,
> the form fields are displaying fine, but some how the datepicker is no
> displaying. probably something to do with my jquery. Please help
> [
On Mon, Jan 11, 2016 at 4:36 PM, Vibhu Rishi wrote:
> Hi
>
> I work on a hobby project on and off which is based on django. After a long
> gap, I picked up the work again. In the meantime, it seems that django has
> been evolving faster than I have been working. I am
On Wed, Jan 6, 2016 at 9:39 AM, wrote:
> I have a Django model with a Boolean field called New. During the model
> creation it's set to True, but I want it to be updated automatically to
> False after a certain period (1 month post creation for example). Can I use
On Tue, Dec 22, 2015 at 6:50 AM, Pemby wrote:
> With this code for example.
>
> class Students(models.Model):
> first_name = models.CharField(max_length=30)
> last_name = models.CharField(max_length=30)
> classChoice1 = ?
> classChoice2
On Wed, Dec 2, 2015 at 4:20 PM, Siddhi Divekar
wrote:
> Hi Tim,
>
> Below is what am trying to achieve.
>
> class OrcaTestCase(TestCase):
>
> def test_customer_create_modify_delete(self):
> '''Test customer object create, modify and delete operations in
>
On Tue, Dec 1, 2015 at 10:15 PM, Evan Palmer wrote:
> Hello,
>
> Does anyone have experience with transitioning an existing database
> including user login data to Django?
>
> I am about to begin work on a startup's hand-written web portal that
> consists of about 2000 lines
On Tue, Nov 17, 2015 at 7:08 PM, Bob Aalsma wrote:
> Sorry, can't seem to find what's wrong here, please help: what am I
> missing???
>
> I'm seeing
>
> NoReverseMatch at /zoekopdrachten/4/resultaat/
>
> Reverse for 'resultaat' with arguments '('',)' and keyword
On Mon, Nov 16, 2015 at 5:38 PM, Axel Rau wrote:
>
> Any idea how to add __init__() to a form class, created by modelform_factory
> () ?
>
> Axel
>
modelform_factory takes many arguments, one of which is for the base
form class to use. You can provide a different base class
On Tue, Nov 17, 2015 at 11:44 AM, Pengfei Xue wrote:
> yesterday, i upgraded my local mysql server to 5.7.9 (mysql Ver 14.14
> Distrib 5.7.9, for osx10.11 (x86_64) using EditLine wrapper), and
> found i can not make my app run anymore, find this error, is there some one
>
On Fri, Nov 13, 2015 at 12:14 AM, James Schneider
wrote:
> On Thu, Nov 12, 2015 at 5:10 AM, Jose Paul wrote:
>>
>> I am just running DJango 1.8 test cases ,here is start of the error trace
>
> I suspect one of your tests is rendering a template.
On Thu, Oct 29, 2015 at 8:35 PM, Emīls Brass wrote:
> I got django filebrowser for admin, where admin can see all added files in
> special folder.
>
> When admin click on folder to see whats inside, if there is some file with
> name who contains UNICODE chartacter, then I
On Fri, Oct 23, 2015 at 3:27 PM, Gagaro wrote:
> However, I still have a question. The reverse relation is wishlist_set by
> default. Why is Django bothered if the attribute is name wishlist (I would
> understand if I named my attribute wishlist_set)?
The message doesn't
On Tue, Oct 6, 2015 at 3:11 PM, Yunshi Tan wrote:
> Let's say we have a default language code in settings.py
>
>LANGUAGE_CODE = 'en'
>
> Then we have
>
> >> from django.utils import translation
> >> assert translation.get_language() == 'en'
>
> We are good by
On Fri, Sep 25, 2015 at 12:01 PM, Tom Evans <tevans...@googlemail.com> wrote:
> However, what is stored in settings is your SECRET_KEY. If you have
> leaked it, you should change it immediately. This will invalidate..
Helpfully, the django documentation for SECRET_KEY details pr
On Fri, Sep 25, 2015 at 7:03 AM, Gordon Reeder wrote:
> I'm learning Django and still very new at it. And like a newbie, I may have
> made a newbie goof.
> I have leaked my CSRF token.
> I am building up a web site with Django which I have under revision control
> with Git. I
On Tue, Aug 25, 2015 at 6:10 PM, Hugo Kitano wrote:
>
> Here it is, very simple:
>
> Submit form:
>
> {% csrf_token %}
> {{ form.as_p }}
>
>
>
Read this section of the manual, particularly the section starting
"Firstly, ...". The problems yo uare having are
On Wed, Sep 16, 2015 at 2:34 PM, Erol Merdanović wrote:
> Hello Vijay
>
> The differences are
> 1. Celery message and our message has different format
> 2. Celery uses custom queues
>
> Is this correct?
>
Yep. Celery is a distributed task system which can use AMQP as
On Wed, Sep 16, 2015 at 2:20 PM, bobhaugen wrote:
> You gotta give PHP credit here. They did deployment better than anybody.
>
I'd disagree massively. Deploying code is not the same as ftping a
bunch of files in to a directory and hoping for the best. Where is the
On Fri, Sep 11, 2015 at 7:37 AM, wrote:
> Example: I have 2 on a html page, which is a form (assume it is
> login form, with username and password, both are required and will do
> validation on this.).
>
> The behavior of is_valid I see is:
> When submit, the returned
On Fri, Sep 11, 2015 at 1:15 PM, Wannabe Coder wrote:
> Hello everyone!
>
> I already created a ticket detailing my use case, and one of the developers
> pointed me to this discussion group. I am not quite satisfied with the
> response I got since the DateTransforms that
On Thu, Sep 10, 2015 at 11:50 AM, Pawanesh Gautam wrote:
> hi
>
> i have list of app (app1,app2.app3,app3,app4).i would like to change the app
> order in admin site so that it will look like dis :
> (app1,app3,app4,app2).
> please suggest some tips to perform this .
>
> thanks
On Tue, Sep 8, 2015 at 11:12 PM, ThomasTheDjangoFan
wrote:
> Hi guys,
>
> I have invested quite a lot of time & energy into learning django and I feel
> comfy using it. (I have studied the 2 Scoops, the Tdd book and got the boook
> "Scaling Django" and
On Mon, Sep 7, 2015 at 12:33 PM, Hans S. Tømmerholt wrote:
> GenericIPAddressField isn't intended to represent a CIDR address, which I
> guess is what I'm trying to put into it.
>
> There is stuff like this:
> https://pypi.python.org/pypi/django-netfields/0.2.1
+1
This is what
On Thu, Sep 3, 2015 at 12:01 PM, Нина Белявская wrote:
> Is anywhere in the Web examples of Wiki projects on Django?
https://www.djangopackages.com/grids/g/wikis/
> Which wiki-engine is used on https://code.djangoproject.com/wiki/?
That is not a django site, it is a Trac
On Fri, Jul 4, 2014 at 12:01 AM, Mike Dewhirst wrote:
> On 3/07/2014 11:57 PM, Jerry Wu wrote:
>>
>> Mike,
>>
>> Sorry for the late reply.
>>
>> Your explanation about "time is constant" makes sense to me. But I still
>> didn't know what to do with time setting following
On Wed, Aug 19, 2015 at 3:18 PM, Nikunj Badjatya
wrote:
> Hello All,
>
> I have a django model class defined as:
>
>
> class Test(models.Model):
>id=AutoField(primary_key=True)
>name = models.CharField(max_length=45, null=False)
>description =
On Thu, Aug 6, 2015 at 6:55 PM, wrote:
> So, I'm trying to use inputs with the hidden attr. I have my form class
> (IndexForm) that has this:
> field = HiddenInput()
> Then, I pass the instance of IndexForm (index_form) to the template, and
> manually render the field
On Wed, Aug 5, 2015 at 1:03 PM, varun naganathan
wrote:
> what does django mean exacty by "plain manager"???
A models.Manager() instance that is added by default to your
models.Model class if you do not explicitly specify a "non plain"
manager.
On Tue, Aug 4, 2015 at 9:45 PM, Robin Lery wrote:
> I have a model for Video:
>
> class Video(models.Model):
> title = models.CharField(max_length=75)
> pubdate = models.DateTimeField(default=timezone.now)
> original_video =
On Thu, Jul 30, 2015 at 4:08 PM, Rich Lewis wrote:
> Dear All,
>
> I'm new to the Django ORM, and quite new to ORMs in general. I have two
> models (lets call them A and B) between which I have an interesting mapping.
> There are precisely 2 B instances associated with each
On Tue, Jul 14, 2015 at 9:15 PM, Robin Lery wrote:
> Yes. That time you were the one to guide me. I was looking at other projects
> after that.
>
> I am just confused on how to get the video.mp4_720 to be the converted
> video. Will you please help.
>
This is explained in
On Sun, Jun 14, 2015 at 3:24 PM, Mark Nesterovych
wrote:
> Hello.
> I've just finished small django site, and keep going on creating tests.
> I've found and issue with Model.objects.values_list method.
> Looks like it disregard test database and looks into production
On Thu, Jun 11, 2015 at 8:02 PM, Andreas Kuhne
wrote:
> Hi all,
>
> I was wondering if there is a plugin application for Django. What I want to
> accomplish is react to different kinds of events on my models and then
> create plugins on the fly for them.
>
> The system
On Tue, Jun 9, 2015 at 10:07 PM, Gergely Polonkai wrote:
> Hello,
>
> I’m about to use the test server with REMOTE_USER based logins. I already
> know how to set it up with my Apache based server, but I can see no way of
> doing the same with the dev server (manage.py
On Mon, Jun 8, 2015 at 3:42 PM, akshat wrote:
> But this requires two separate views right? How does facebook know on the
> first attempt that cookie support is not enabled in my browser?
It doesn't, it sets a cookie and redirects you to another URL to see
if the
On Mon, Jun 1, 2015 at 3:01 PM, Anandhakumar Radhakrishnan
wrote:
> Am using Django 1.7, nginx
You're only using nginx to proxy to a backend webserver and serve
static files. What is the backend webserver that is hosting django?
> ...
>
> In the
On Wed, May 20, 2015 at 3:00 PM, Emerson Luiz wrote:
> When i don't have 0 or 1 i need show some thing...
>
> Let me explain the situation...
>
> 0 = Show when calls is RING
> 1 = Show when the calls is ANSWER
>
> When i don't have calls, i need show some thing . I have an
On Tue, May 19, 2015 at 5:13 PM, Reznov Ammar wrote:
> oh dude yes am doing flask, but you know here doesn't exist any flask group,
> so please if you can help it would be really appreciated :) .
http://flask.pocoo.org/mailinglist/
HTH
Tom
--
You received this message
On Tue, May 19, 2015 at 9:04 AM, x wrote:
> hello hello,
>
> finally i was able to install a python instance on my shared-server.
> it was also impossible to pip-install django. yeah.
>
> but right then - so close already - i got a permission problem again.
> i couldn't figure
On Tue, May 19, 2015 at 8:42 AM, wrote:
> Hi guys,
> I am resizing image using blobproperty but it s giving BadImageError with no
> exception supllied.
>
> Here is my code for resizing:
>
> bg_image = request.FILES['bg_image'].read()
>
> obj_partner.bg_image =
On Thu, May 14, 2015 at 4:18 PM, Marc Aymerich <glicer...@gmail.com> wrote:
> On Thu, May 14, 2015 at 11:26 AM, Tom Evans <tevans...@googlemail.com> wrote:
>> On our app servers we typically use Apache with worker MPM and
>> mod_wsgi, although we have a few nginx+uwsg
On Thu, May 14, 2015 at 4:36 AM, reduxionist wrote:
> The question you asked Tom was "Doesn't Apache create new process for each
> request [thus eating memory when serving large amounts of static files
> during traffic peaks]?", and the reason that Tom correctly
On Wed, May 13, 2015 at 9:55 AM, termopro wrote:
>
>> >I have read that
>> > Apache's performance degrades on high load.
>>
>> That is absolute nonsense.
>>
>> Cheers
>>
>> Tom
>
>
> Doesn't Apache create new process for each request thus eating memory when
> serving large
On Wed, May 13, 2015 at 9:37 AM, Simran Singh
wrote:
> Tom, basically I want to discard everything that is stored in
> transaction.savepoint. As per my current case, it is getting committed no
> matter where the flow goes.
Yes, so you don't want savepoints. Savepoints
On Wed, May 13, 2015 at 2:12 AM, akshat wrote:
> I am new to Django. I am building a app which will have to handle several
> concurrent requests. Which web server is suitable for this?
Any and all.
>I have read that
> Apache's performance degrades on high load.
That
On Wed, May 13, 2015 at 6:36 AM, Simran Singh
wrote:
> Hi Tom,
>
> If you see then in if block, I am creating my savepoint. At any point of
> time, if the condition is not met and control goes to else block then I want
> to rollback all the changes that are saved in
On Tue, May 12, 2015 at 4:01 PM, Abhijit Chatterjee
wrote:
> Idk if this is the right forum to post this question but I have been
> fiddling around with:
>
> https://pypi.python.org/pypi/django-standalone
>
> Is django-standalone is only to test ORM? Or we can also test
On Tue, May 12, 2015 at 7:47 AM, Simran Singh
wrote:
> Thanks Tom for your response. I am attaching piece of code of what I have
> done. I hope this could help.
>
> @transaction.atomic(None, True)
> def reservation(request):
>
> if request.method == 'POST':
>
On Mon, May 11, 2015 at 11:44 AM, Simran Singh
wrote:
> I am really new to Django and I am using Django 1.8. Many of the
> manual_transaction features have been depreciated in this. I have used
> @transaction.atomic(None, True)
nit; these are the defaults. You might
On Sat, May 9, 2015 at 4:15 PM, Tim Chase
wrote:
> Since people can attend multiple schools and work for multiple
> employers, you can just make it a many-to-many, using the stock
> auth User:
>
> from django.contrib.auth.models import User
>
> class
On Sat, May 9, 2015 at 4:10 AM, charles javelona
wrote:
> Hi there,
>
> I am a newbie in Django. My goal is to create an online platform exchange
> for my community that helps students like me get part-time jobs from
> employers.
> For the past days, I taught myself how
On Thu, May 7, 2015 at 3:00 PM, steve malise wrote:
> What i am trying to do is run python script(client side) on another computer
> which is on same network with my computer,then receive data from another
> computer with the django(which is running on my computer(server
On Thu, May 7, 2015 at 12:48 PM, steve malise wrote:
> where can i write web server?
>
Why do you want to?
Django is a web application, it is hosted inside webservers, typically
using WSGI. Typically, you would use one of the many webservers that
can host wsgi applications
On Thu, May 7, 2015 at 9:24 AM, steve malise wrote:
>
> client side code:
> data = "message"
> try:
> clsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> clsocket.connect(('192.168.2.2', 8000))
> print("Connection has been Made")
>
On Tue, May 5, 2015 at 10:32 AM, Thomas Levine <_...@thomaslevine.com> wrote:
> Hi,
>
> For like the first time ever I want to make complicated websites,
> so using Django finally seems like a good idea. And it is! All the
> small building blocks that I had never thought of are already here.
>
On Thu, Apr 30, 2015 at 10:00 AM, sephii wrote:
> Hello,
>
> I have an application made with Django 1.7 and the Django Rest
> Framework and I'm in the phase of load testing it. My setup is made of
> 3 servers:
>
> - Nginx + gunicorn
> - Gunicorn
> - Postgresql +
On Wed, Apr 29, 2015 at 11:06 AM, 田福顿 wrote:
> I want to connect to tables than get their complment, but I don't know how
> to do it? Plaea give me some suggestion. I have wasted two days in this
> problem.BTW this way didn't work:Django: Getting complement of queryset
That
On Tue, Apr 21, 2015 at 4:57 PM, George L. wrote:
> I'm trying to return errors to an ajax call but as_json() form method
> generates a string of a dict instead of a dict. JsonResponse accepts only
> dicts and if I set safe=False, JsonResponse tries to serialize the data as
1 - 100 of 1813 matches
Mail list logo