Hi All,
Can anyone please share how to validate phone number in django.
Thanks in advance.
--
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+unsubsc
One strategy might be to:
1) Bring in the data under a different column name ('old_id' ?)
2) In a single migration, drop the default ID column, rename old_id to id,
and give it primary_key=True
That should preserve your old IDs and set the next auto_increment to the
next highest value (and if
>
>
>
> What did you base this on? Certainly not the python docs or behavior of
> any pcre based library.
>
> Regular expressions are capitalist: greedy by default.
>
> The qualifiers *? are there especially to make a match non-greedy.
>
>
>
> Quick test:
>
> pcregrep -o '^.*:' /etc/passwd
>
>
>
>
On 20/06/2017 1:13 PM, Mike Dewhirst wrote:
On 20/06/2017 2:22 AM, 'Victor Hooi' via Django users wrote:
If you go down the user-profiles route - how would you handle
managing each of those via the Django Admin?
I use group permissions to reveal or hide models in the Admin main
menu. I use a
On Monday 19 June 2017 16:43:12 James Schneider wrote:
> But if I use the pattern:
>
> *urlpatterns = [ *
> *url(r'^blank/.*$', views.BlankMore, name='blankMore'),*
> *]*
>
> I can enter:
>
> localhost:8000/uA/blank/
>
> and the pattern will match, but if I enter:
>
> localhost:
On Monday 19 June 2017 21:11:23 jon stan wrote:
> im trying to display the products and service type based on the name
> but i cant figure out how todo that. here's what i have:
>
> views.py
> name =
> food.objects.get(restaurant-name__icontains='burger-place') prod =
> food.object
On Tuesday 20 June 2017 02:24:20 Rafael E. Ferrero wrote:
> The trouble it's because Firefighter class is a child of Person
class
> so the Firefighter item are in the two dropdowns and it shouldn't
Are you sure a firefighter is a person? Or is it the person's job?
Show your models, cause it's
On Tuesday 20 June 2017 17:41:03 Philipp Zedler wrote:
> I'd like to manage composer packages using a Django App.
(Composer is
> the git of PHP, roughly speaking.)
I'm gonna say you meant "pip" here. Or yarn. Or npm. But not git.
> Is there already some Django App that does this?
Not that I'm
Is your project residing in django? Or you are using a different web framework?
Yingi Kem
> On 20 Jun 2017, at 7:24 PM, MigDotCom wrote:
>
> I want to use python and django to make a news-feed for my website I have
> searched about it but i still don't even have clue where to start:
> 1. Do i
I want to use python and django to make a news-feed for my website I have
searched about it but i still don't even have clue where to start:
1. Do i make it as a new app in my django site?
2. Where can i get this info or go back as reference ?
3. do i need any prerequisites before hand?(i.e: setti
Well, I need to know even a vague shape of what's happening to be able to
help - is it getting stuck in an infinite loop? Is it running out of
memory? Without this sort of information, I won't be able to find the
problem, and I don't have time to go through the entire codebase line by
line.
Andrew
Hi Django Users,
I'd like to manage composer packages using a Django App. (Composer is
the git of PHP, roughly speaking.)
Is there already some Django App that does this?
Best wishes
Philipp
P.S.
I know that the essential features of such an app are very simple.
However, I prefer collaborat
12 matches
Mail list logo