Thanks a lot. Missed save_FOO_file in the docs.
On Dec 18, 12:52 pm, "Marty Alchin" <[EMAIL PROTECTED]> wrote:
> On Dec 18, 2007 12:08 PM, Ryan K <[EMAIL PROTECTED]> wrote:
>
> > def save(self, user):
> > if user != self.scheduled_produ
What is the best way to serve static media and only letting certain
users (using django.contrib.auth) download that data?
Thanks,
Ryan Kaskel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
<[EMAIL PROTECTED]>
wrote:
> Ryan K wrote:
> > What is the best way to serve static media and only letting certain
> > users (using django.contrib.auth) download that data?
>
> > Thanks,
> > Ryan Kaskel
>
> http://blog.lighttpd.net/articles/2006/07/02/x
Hello. I want to use the pytz package. It has a tzinfo objects called
pytz.UTC that it recommends you store as the general timezone. Is
there a way for Django to set the tz to pytz.UTC whenever it deals
with datetimes?
Thanks,
Ryan Kaskel
--~--~-~--~~~---~--~~
You
Nevermind on this.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTE
:
return s_products.order_by('finish')
else:
return s_products
When order==True these are the results:
..
2007-12-25 00:00:00
2008-01-01 00:00:00
2007-12-25 01:27:11
2007-12-25 04:27:11
2007-12-25 08:27:11
...
Is this the correct behavior?
Thanks,
R
For all your testing needs http://www.softwareqatest.com/qatweb1.html
On Jan 2, 2:58 pm, mamcxyz <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I wonder what tool let me to do web load & stress testing with this
> options:
>
> - Run on Windows, test target are windows & solaris
> - Simulate diferent users,
)
Doing this, my data goes in and out untouched. A somewhat unsatisfying
solution, but it seems to work.
Regards,
Ryan Ginstrom
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
> On Behalf Of Aidas Bendoraitis
> I guess, this query may help you:
> ALTER DATABASE `yourdatabase` DEFAULT CHARACTER SET utf8
> COLLATE utf8_general_ci
So that's how to do it.
Thanks!
Regards,
Ryan Ginstrom
--~--~-~--~~~---~--~~
You rece
I'd like to make this as well. Quick question: is it on the 3rd or
the 6th? This page...
http://www.clepy.org/meetings/2005_10_06_mtg_details
... says the 6th but here we're saying the 3rd.
Ryan
On Sep 25, 2005, at 4:46 PM, Ian Maurer wrote:
I am going to be doing a prese
I assume you're using Django smart selects since you seem to be using chained
foreign key. Here's the documentation on how to get this to work inside your
own templates:
https://django-smart-selects.readthedocs.io/en/latest/usage.html#usage-in-templates
On October 11, 2021 8:36:21 AM CDT, marya
ts, instead of looking at the
677 users that have permissions in the user_user_permissions table, it
checks all 27346. As there is nothing in the table for them, this is super
super inefficient.
It appears that the SQL is doing something like:
select id from public.user
And really should be doing some
Check out fixtures:
https://docs.djangoproject.com/en/3.2/howto/initial-data/
On December 8, 2021 1:25:45 PM CST, Alex Dehnert wrote:
>With some frequency, I end up with models who contents are approximately
>constant. Are there good ways of handling this?
>
>For example, I might have a set of
Try running the sandbox application:
https://django-oscar.readthedocs.io/en/stable/internals/sandbox.html
Then you can poke around that sandbox code and see how they did things.
On November 22, 2021 2:23:28 AM CST, "Hervé Edorh" wrote:
>Hi,
>I am new to django-oscar and i try to understand t
s your problem of keeping track of the year.
Then you can also use some date math[2] to calculate the previous month.
Once you have the previous month, you can use that to: lookup that model
instance, copy it[3], update the month to the current month, then save.
As an aside, I'd rename
On Mon, Feb 14, 2022 at 12:04:13PM +0530, Prashanth Patelc wrote:
> i am working on xl sheets , when im uploading the xl sheet it is storing
> into the models but i need before storing into the models validate the data
>
> eg:
> username : ,must be str not int
> reference id : ,must be int not str
n optimize.
Hope this helps!
Ryan N
[1] https://django-debug-toolbar.readthedocs.io/en/latest/
On Mon, Feb 07, 2022 at 09:12:48AM -0800, Steven Smith wrote:
> Did this issue ever get resolved? I'm experiencing the same thing. Once
> it hits 100 forms or so it gets pretty slow.
>
On Sun, Feb 27, 2022 at 09:10:05AM +0530, Prashanth Patelc wrote:
> How to create dynamic models in django rest framework?
> Is there any chance to create dynamic models with APIs
>
> Any examples please send me thanks in advance..
>
> 1) Requirement is need create table name and fields in fronte
On Thu, Apr 07, 2022 at 01:08:19PM +0300, tech george wrote:
> I am trying to filter my medicine stock data so that Pharmacist 1 can only
> view their records but not Pharmacist 's 2 records.
>
> So far nothing is filtered and all the pharmacists can see all the
> available records, Please advise
On Wed, Apr 06, 2022 at 08:59:09AM -0700, Vasanth Mohan wrote:
> I'm building a PoC for a multi-tenant app where I'm trying to use the same
> schema across multiple databases with Django instance. I've got a couple of
> questions and I'd be happy to have some input
>
> 1. Is there a way to defin
Maybe try Google translate?
https://docs-djangoproject-com.translate.goog/en/4.0/?_x_tr_sl=auto&_x_tr_tl=th&_x_tr_hl=en&_x_tr_pto=wapp
On April 9, 2022 1:08:34 PM CDT, frame fF wrote:
> I'm not good at English in the future. documentation Thai language?
>
>--
>You received this message because
n create a separate FormView that you can
POST to from your DetailView.
- Ryan N
On 4/26/22 5:25 AM, alex smolyakov wrote:
Can anyone explain me how to make send email form on page.
So my forms.py
class ContactForm(forms.Form):
name = forms.CharField(required=True)
last_name = forms
Django, I use...
https://pypi.org/project/django-sms/
(disclosure: I've contributed to django-sms in the past)
- Ryan N
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails f
> am stuck allocating the clients to the specific account manager. I know
> that I am missing the point in implementing a queryset and tieing it to
> that user.
> Any help would be appreciated.
What would you like the relationship between client and account manager
to be? One to one? O
There's a couple of ways to update the UI without the user doing anything.
First, you can poll the server at a regular interval using JavaScript. Second,
you can use a websocket to push updates from the server to the client.
On May 30, 2022 6:28:40 AM CDT, Dev femibadmus wrote:
>fine! we can su
Drop the HTML into your templates directory. Then put all the static assets (
CSS, js ) in your static directory. Change all the references to the static
assets in your HTML to the new location and your static directory by using the
staticfiles template tag.
On May 31, 2022 6:52:12 PM CDT, Ry
The HTML element you probably want is a datalist[1]. There's no built-in Django
support for datalist[2] so you'll probably need to create a custom widget.
[1] https://stackoverflow.com/a/14614750
[2] https://code.djangoproject.com/ticket/32125
On May 31, 2022 11:52:31 AM CDT, Phil Parkin wrote:
On Fri, Jun 10, 2022 at 05:52:48PM +1000, Mike Dewhirst wrote:
> The use case is auto-deletion of out-of-date records if they have not
> changed.
>
> That might sound weird but it is the solution I have come to for a
> particular problem. My software analyses chemical properties and writes note
>
On Sat, Jun 11, 2022 at 12:13:16AM +1000, Mike Dewhirst wrote:
> On 10/06/2022 11:24 pm, Ryan Nowakowski wrote:
> > On Fri, Jun 10, 2022 at 05:52:48PM +1000, Mike Dewhirst wrote:
> > > I think the solution might be to hash note.title and note.note into a new
> > > fi
On Sun, Jun 12, 2022 at 11:46:44AM -0700, Sylvain wrote:
> Hello,
>
> I’m trying to use the current language of the user in a queryset, but the
> value gets resolved outside of the request-response cycle. I thought this
> could work since querysets are lazy, but I guess that doesn’t make the
>
On 6/12/22 11:40 PM, Mike Dewhirst wrote:
Original message
From: Ryan Nowakowski
Date: 13/6/22 07:09 (GMT+10:00)
To: django-users@googlegroups.com
Subject: Re: How to hash fields and detect changes in a record
On Sat, Jun 11, 2022 at 12:13:16AM +1000, Mike Dewhirst wrote
This is a good primer on bytes vs strings:
https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/
On June 14, 2022 2:43:54 AM CDT, Antonis Christofides
wrote:
>Exactly. The important t
On June 14, 2022 10:29:40 PM CDT, Mike Dewhirst wrote:
>On 14/06/2022 11:20 pm, Ryan Nowakowski wrote:
>>
>> Summing the ordinal of the characters won't catch transposition:
>>
>> >>> chars = 'ab'
>> >>> sum([ord(c) for c
You could use manage.py shell to set the email address of your super user.
On June 13, 2022 12:22:30 AM CDT, Sudip Khokhar
wrote:
>Hi All,
>
>I am practicing Django since 3 months and recently I encountered an issue
>with my practice project as I made a super user and didn't added email to
>it
Add a soft delete method to a custom QuerySet, then use that as a custom
Manager for your model.
https://docs.djangoproject.com/en/4.0/topics/db/managers/#creating-a-manager-with-queryset-methods
On June 16, 2022 5:13:29 AM CDT, Sencer Hamarat wrote:
>Hi,
>
>The models delete methods overridden
Please copy and paste that section of your settings.py and the full error
including any traceback.
On June 16, 2022 11:54:44 PM CDT, saranphat roungkitrakran
wrote:
>I have to put my project to share sever for others can use it . I try to
>change allow_host become shared server's Ip Address ,b
https://stackoverflow.com/questions/8252387/how-do-i-access-dictionary-keys-that-contain-hyphens-from-within-a-django-templa
On Mon, Jun 20, 2022 at 07:52:46AM -0700, Koushik Romel wrote:
> When trying to get a value from restapi in for loop to display it takes
> hyphen(-) as minus(-). And there
If you want the initial input field value to change dynamically when the select
field option changes, there's a bunch of different ways to do this. My current
favorite is htmx
https://htmx.org/
- Ryan
On June 26, 2022 5:10:19 AM CDT, Rohit Lohar wrote:
>Hi there,
>I am current
An alternative to storing all values in a single model field is to use EAV:
https://en.m.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model
On June 20, 2022 1:46:42 AM CDT, Abhinandan K
wrote:
>how to store the data in django databse table if user append fields
>according to their
I've used Cordova before
https://cordova.apache.org/
On June 28, 2022 3:26:04 PM CDT, Lightning Bit
wrote:
>Hello all,
>
>Where should one start to convert a Django Web App into a Mobile App for
>the Play Store and Apple Store? Appreciate the help!
>
>--
>You received this message because yo
Yup
On June 26, 2022 8:11:01 PM CDT, Rohit Lohar wrote:
>Can I make a form with the help of htmx such that the whole form has a
>small container is dynamic and else whole part is static?
>
>On Mon, Jun 27, 2022, 4:07 AM Ryan Nowakowski wrote:
>
>> If you want the initial
On June 27, 2022 4:36:49 AM CDT, "ro...@tonic-solutions.com"
wrote:
>I know I could set `something like `instance.save(update_fields=[field for
>field in instance._meta.fields if field.name != "_search")` but it would
>need to be set on every save for that model throughout the application,
You can use transaction.atomic:
https://docs.djangoproject.com/en/4.0/topics/db/transactions/#controlling-transactions-explicitly
On July 4, 2022 7:16:41 AM EDT, Sencer Hamarat wrote:
>Hi,
>
>Say I have a parent and a child model.
>
>And also there is a view which is using DRF serializers to save
Ram,
It depends. How many http transactions per second are you expecting?
What database are you using? Based on your estimated http TPS, how
many database queries per second are you expecting? What percentange of
those database queries are read vs write?
- Ryan N
On Sat, Jul 09, 2022 at 09
Middleware is how Django does it.
https://docs.djangoproject.com/en/4.0/ref/middleware/#module-django.contrib.auth.middleware
On July 15, 2022 4:19:10 PM CDT, Mark Glass wrote:
>I would like to change the link that opens a Django app. Currently the app
>is launched with GET http://localhost:800
On Fri, Jul 22, 2022 at 12:16:14PM +0530, Avi shah wrote:
> I have two tables
> Tbl 1
> &
> Tbl 2
>
> I need to connect the two tables using a join
If these tables were created outside of Django, in other words, not
using manage.py migrate, you can use Django's legacy database support to
auto gen
You mentioned you're not using models. Where are you storing the data you want
to search?
On July 23, 2022 8:42:40 PM CDT, Mahendra wrote:
>I am not using models using only URLs is any ways to go like using Ajax or
>JavaScript language please suggest me?
>
>On Sat, 23 Jul 2022, 22:11 Lakshyaraj
You'll definitely want to include the actual exceptions and warnings that are
occurring in your bug report.
On July 25, 2022 9:05:53 AM CDT, Ken Booo wrote:
>Here, I caught a one bug on Django-->4.0.6
>There is no argumented support and base_dir is having exemptions causing
>warnings![image: Wha
Your question is a little unclear but I'm assuming that you are trying to add
Google authentication to your Django project. I've used:
https://python-social-auth.readthedocs.io/en/latest/
...with good results in the past. I've also heard good things about:
https://django-allauth.readthedocs.io/
Since this is a question about your models, please post your models.py.
On 7/27/22 5:18 AM, Malik Rumi wrote:
I have a model with a recursive foreign key to 'self'. This is
intended to model a parent child
relation among instances. The forward relation, on a field called
'childof', works as exp
The standard is called iCal. There are a few different python libraries to
choose from.
On August 1, 2022 2:51:34 PM CDT, "lone...@gmail.com"
wrote:
>Hello all,
>
> I want to generate calendar files for both Android and iPhone. I do
>not want to connect to the Google or Apple APIs to do t
How much data are you expecting from each data source? The volume of data will
partially determine your solution.
On August 17, 2022 7:13:14 AM CDT, yaron amir wrote:
>we are developing a control system that looks at data from multiple sources.
>some of the data is extracted from AWS, some from
usuario isn't a username, it's a QuerySet so I don't think:
User.objects.get(username=usuario)
... will work.
Please post the specific error you're getting including any traceback.
On August 16, 2022 3:30:46 PM CDT, "José Ángel Encinas"
wrote:
>hi guys, im trying to remove user from a specifi
It looks like you can override the delete method to get rid of the redirect
behavior:
http://ccbv.co.uk/projects/Django/4.0/django.views.generic.edit/DeleteView/#delete
On August 20, 2022 2:39:46 AM CDT, Hussein Ahmad wrote:
>hi.. i dont want my delete button to redirect to a success url,how c
In the past I've used subprocess.run to shell out and run curl. Those were
weird circumstances though. Typically I use the requests library instead.
On August 21, 2022 2:27:02 PM PDT, "lone...@gmail.com"
wrote:
>Hello all,
>
> I am interested in converting the CURL command of:
>
>curl 'https:
On Mon, Aug 22, 2022 at 05:56:00AM -0700, Dann Luciano wrote:
> It is possible to map one field in a Model to two or more database columns?
> For example:
>
> class User(models.Model):
> encrypted_hash_email = EncryptedHash()
>
> then in database we have
>
> encrypted_email and hash_email c
On Mon, Aug 22, 2022 at 12:26:40PM +0530, Abhinandan K wrote:
> checked{% endif %} >Male
> checked{% endif %}>Female
>
Do you need quotes around Male/Female like this?
{% if val_gen == 'Male' %}
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
On Wed, Aug 24, 2022 at 12:48:26AM -0700, Aakash Bhaikatti wrote:
> As a User
>
>- I can signup either as LIBRARIAN and MEMBER using username and password
>- I can login using username/password and get JWT access token
>
> As a Librarian
>
>- I can add, update, and remove Books from t
On Sun, Jul 31, 2022 at 12:55:46AM -0700, Joseph Bashorun wrote:
> I am stuck in a loop of confusion. I am trying to build an ecommerce
> website and make it production ready. Do i need to build an API for it?
No https://twitter.com/htmx_org/status/1561808410856898561
--
You received this mes
On Wed, Jul 20, 2022 at 06:11:08AM +0530, Lakshyaraj Dash wrote:
> I'm having a discussion website in django with some sort of user
> authentication and I want to inject chat app with rooms made by the users
> themselves. I don't want any js framework in the frontend. Just tell me how
> to make thi
You can use a model from one app in other apps. Simply import it in the apps
where you need it.
On August 27, 2022 5:43:40 PM CDT, "Javier L. Camacaro"
wrote:
>Do i need to repeat the models for each app?, Can I use same model for all
>the apps in my project?
>
>
>I'm a new a DJango programme
On Tue, Aug 30, 2022 at 03:35:26PM +0100, fawemimo olawale wrote:
> Which of these programming language should i learn
>
> Please I need counselling on this two language though i have prior
> knowledge on Python Web Framework (Django) as a beginner's but i want
> Backend Language
>
> JAVA or ASP
On Mon, Aug 29, 2022 at 05:18:39PM +0300, tech george wrote:
> Please help crack the below code, I want to prevent negative stock, and if
> the stock is == 0, deduct it from reorder_level instead.
> Currently, the stock goes negative.
>
> models.py
>
> class Stock(models.Model):
> quantity =
ter than or equal to qu rather than 0.
>> Try changing `if quantity > 0` to `if instance.quantity >= qu`
>>
>>
>> On Tuesday, August 30, 2022 at 3:44:51 PM UTC+1 Ryan Nowakowski wrote:
>>
>>> On Mon, Aug 29, 2022 at 05:18:39PM +0300, tech george wrote:
>&
Can you dump the generated sql from both Django versions?
https://docs.djangoproject.com/en/4.1/faq/models/#how-can-i-see-the-raw-sql-queries-django-is-running
On September 1, 2022 8:58:08 AM CDT, Marc Parizeau wrote:
>Hi,
>
>I am seing a sharp increase in execution time for some of my queries w
: CHECK constraint failed: quantity
>
>
>
>On Thu, Sep 1, 2022 at 3:45 AM Ryan Nowakowski wrote:
>
>> I don't see any error. Did you forget to post it?
>>
>> On August 31, 2022 5:57:32 AM CDT, tech george
>> wrote:
>>>
>>> Hello,
>>&g
On September 12, 2022 7:38:21 AM EST, "Fábio Barboza de Freitas"
wrote:
>I'm trying to migrate the django tables to mongo, but it is the error I get:
>
>Applying contenttypes.0002_remove_content_type_name...This version of
>djongo does not support "DROP CASCADE" fully. Visit
>https://nesdis.
I'm not sure a hash will meet your needs. What kinds of things are you trying
to secure against? Examples:
1. I want to make sure that if the data in my database is stolen that the email
addresses won't be able to be read.
2. I want to obscure the sender and receiver email addresses so that the
If I had to rephrase your question, it appears that you might want to:
1. Query your Attendance model for some specific object.
2. If the object is not present, create it.
If my interpretation is correct, the ORM has an abstraction that you can use
called get_or_create().
In your example, you c
e in the
right direction.
Cheers,
Ryan.
--
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 view this discussio
If I have two querysets, say 'a' and 'b', the goal is to create another
queryset, say 'c', which has all elements in 'a' that is not in 'b'.
I can write:
c = a.exclude(id__in=b.values('id'))
but this seems a little tedious, why can't I just write:
c = a.exclude(b)
is there any way to
The vague, open-ended nature of your questions gives me the impression
that you are trying to get the group to do most of the hard work for
you.
Tom's suggestion is right - Pubsub definitely sounds like the way to
go for your project. The TCP protocol doesn't make any specific
reference to AJAX ei
If he can't install virtualenv (permission denied), he will have
problems copying his modules to the dist/site-packages dir. Also, this
method of manually copying is (no offence meant :-) ) rather hacky,
and probably not good advice in most situations. Thomas Rega's
suggestion of installing virtual
Are "which webhost" questions really relevant to this list? I just did a
quick search, and it seems this question is coming up more and more
frequently. It seems quite out of place here, IMHO. I use this list to see
interesting ways people use Django, or learn from other people's answers -
not
Or a custom template context processor that adds gigs to every request
context.
On Thu, Jun 28, 2012 at 10:40:30PM -0400, J. Cliff Dyer wrote:
> It looks like what you want to do is create a templatetag. Then you can
> just include a snippet like: {% gig_schedule %} in your template. The
> docum
Hi, I'm creating a website that allows registered users (which are not
is_staff) to write journals (text, images, sound, video, and uploaded
files), and write comments to other's journals. The journals and
comments have to be moderated by a different class of users (the
moderators) before they
.
Regards,
Ryan
On Sep 27, 5:13 am, Santiago Basulto
wrote:
> Hello friends,
>
> i'm new with django. I've something to ask you.
>
> I'm building a website similar to eBay where i've different "kinds" of
> users. These are: CustomerUser and SellerUse
On 01/02/2012 07:53 AM, lankesh87 wrote:
I want my url to be free from parameters being passed.
I have handled the request in "twitter_after_auth" function of view
and
I am redirecting user to the new url "http://localhost/create_cr/";
but instead the url shows some additional parameters that
On 01/05/2012 01:01 PM, Chris Kavanagh wrote:
On Jan 4, 8:20 am, Andre Terra wrote:
I'm sorry, folks, but I'll have to *vehemently **disagree *with a lot of
what has been said in this thread. To the OP, I'm sorry I didn't reply any
sooner.
No, you *don't need *to go reading about what MVC me
On 01/06/2012 02:35 AM, Dennis Lee Bieber wrote:
Django's models are just a means to define those independent of engine
specific notation.
while introducing django-specific notation, which generally maps more
neatly to the theoretical foundation than SQL (while SQL maps more
neatly to the imp
On 01/07/2012 11:04 AM, Barış Bilgiç wrote:
Hi,
I am looking for how to implement URL rewrite in Django which is
explained inhttp://en.wikipedia.org/wiki/Rewrite_engine .
For example,I would like to convert
|http://127.0.0.1:8000/employer/details/20/|
to|http://127.0.0.1:8000/employername-20.
On 01/19/2012 01:45 PM, Chen Xu wrote:
but I dont want to use gmail account to send emails on production.
you're leaving one thing out from your question, what do you want to use
instead?
Check your web host, many webhosts provides smtp service.
--
You received this message because you are
each geometry. I'm betting
some (if not all) will read "MULTIPOLYGON".
Next, check your model definition for "SpatialFeatures". Make sure
that you've set "geometry = MultiPolygonField(..." or at least that
the field type here matches the geometry type of t
Checkout Graphite[1]. It seems like it would handle your graphing
requirement.
1. http://graphite.wikidot.com/start
On Mon, Dec 10, 2012 at 08:41:14PM +0100, Marc Aymerich wrote:
> Hi,
> I'm considering to implement a simple monitorization system that
> basically gathers some data from a set of
s know how you go.
Cheers,
Ryan
On Thursday, December 20, 2012 5:27:42 AM UTC-8, djangobie wrote:
>
> Hi, I have just started practicing a tutorial for buidling a basic blog (
> http://www.djangorocks.com/tutorials/how-to-create-a-basic-blog-in-django/starting-your-application.html
>
hatever it is, I just
want to be able to provide help to those that need it in the most time
efficient way possible.
Cheers,
Ryan
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://grou
Can you share the error and the stack trace at http://pastie.org/.
Sharing environmental information such as OS, Python version, Django
version, reported django-ratings app version is also critical in helping
your figure out what the issue is.
Cheers,
Ryan
On Monday, December 24, 2012 10:35
dy and then post their conclusions
> on how they got there. problem is that often people go silence when they
> achieved the solution.
>
> also take in consideration that some posts are discussions like this one,
> not answers to a specific problem.
>
> avraham
>
>
>
I would say stay away using PyCharm to manage your Django application until
you're more experienced. Learn to manage your app purely through the
command line first.
On Tuesday, December 25, 2012 9:28:15 AM UTC-8, Victor Rocha wrote:
>
> Your welcome! Merry Christmas
>
>
>
> On Tue, Dec 25, 2012
Are the user and password fields meant to be blank?
Cheers,
Ryan
On Dec 26, 2012, at 9:40 AM, Dan Richards wrote:
> First off, I am a newbie to django, python and postgres - so I suspect I am
> missing something obvious, but I am stumped. Any ideas will be gratefully
> accepted.
jango rodan$ python manage.py syncdb --verbosity 2
>> here we are
>> Traceback (most recent call last):
>> File "manage.py", line 10, in
>> execute_from_command_line(sys.**argv)
>> File "/Users/rodan/testdev/**hellodjango/venv/lib/python2
That's Python's standard output when starting an interactive session.
On 26/12/2012, at 2:05 PM, rktur...@gmail.com wrote:
> Whenever I run "python manage.py shell," I don't get any errors, but I get
> the following:
>
> C:\Python27\Lib\site-packages\django\bin\mysite>python manage.py shell
>
often that you want to use shell without importing some models at least.
Also, install iPython, it has great features (e.g. command history) that make
it much friendlier than the standard interactive mode.
Cheers,
Ryan
On 26/12/2012, at 2:45 PM, rktur...@gmail.com wrote:
> You know what? I d
Can you provide the contents of your admin.py in your polls app. If you've got
the below code, then I'm not sure how that is happening.
class PollAdmin(admin.ModelAdmin):
fields = ['pub_date', 'question']
admin.site.register(Poll, PollAdmin)
Cheers,
Ry
what applications end up on
> the admin page? If so, this may have been enabled by the upstream for my
> project, and I need to find a way to disable this.
>
> On Wednesday, December 26, 2012 5:43:38 PM UTC-6, Ryan Blunden wrote:
> Can you provide the contents of your admin.
aded, and polls showed up.
>
> On Thu, Dec 27, 2012 at 1:06 PM, Ryan Blunden wrote:
>> I'm not aware of any upstream apps 'masking' the display of other apps in
>> the admin root page but I would try to disable all other third party
>> (non-Django contrib) ap
:
1) Comment out the sites app in INSTALLED_APPS
or
2) Ensure you have SITE_ID = 1in your settings and create a Site model entry
with an id of 1.
Cheers,
Ryan
On 28/12/2012, at 12:29 AM, Shahjalal Hossain wrote:
>
>
>
> Hi, I am new at Django. I am learning Django from instru
I stumbled across http://www.deploydjango.com/ while looking for info on
running New Relic monitoring for Django 1.45 in pure WSGI.
Looks like a good resource for people starting out with Django and looking
for deployment guides.
--
You received this message because you are subscribed to the G
If you go this route, be sure to check
the Django version they use before you start (don't use anything below 1.3)
Cheers,
Ryan
On 28/12/2012, at 1:04 PM, Mark London wrote:
> Hi - I'm looking for an open source project/task management system, based on
> django. Something like
All I can suggest is to double-check the TEMPLATE_DIRS tuple to ensure the path
is correct.
On 29/12/2012, at 7:59 AM, "Dae James" wrote:
> I put my 404.html into root of the directory specified in TEMPLATE_DIRS.
> However, when I visit an inexisting page, the browser's 404.html appears
> rat
201 - 300 of 594 matches
Mail list logo